mirror of https://github.com/sveltejs/svelte
parent
a294bbc53e
commit
71b03fc1c5
@ -1,9 +0,0 @@
|
|||||||
// i'm here so type generation doesn't get mad
|
|
||||||
// TODO generate this file during type generation
|
|
||||||
export default DevTool;
|
|
||||||
type DevTool = {
|
|
||||||
$on?(type: string, callback: (e: any) => void): () => void;
|
|
||||||
$set?(props: $$ComponentProps): void;
|
|
||||||
};
|
|
||||||
declare const DevTool: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
<script>
|
<script>
|
||||||
let props = $props()
|
let props = $props()
|
||||||
</script>
|
</script>
|
||||||
<h1>devtools</h1>
|
<h1>toolbar</h1>
|
||||||
<pre>
|
<pre>
|
||||||
{JSON.stringify(props,null,2)}
|
{JSON.stringify(props,null,2)}
|
||||||
</pre>
|
</pre>
|
||||||
@ -0,0 +1 @@
|
|||||||
|
// TODO figure out generating type for this
|
||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* devtools config
|
* toolbar config
|
||||||
* @type {import('./public.d.ts').Config}
|
* @type {import('./public.d.ts').Config}
|
||||||
*/
|
*/
|
||||||
const config = {};
|
const config = {};
|
||||||
@ -1,3 +1,3 @@
|
|||||||
export {default as DevTool} from './DevTool.svelte'
|
export {default as ToolBar} from './ToolBar.svelte'
|
||||||
export * from './configure.js'
|
export * from './configure.js'
|
||||||
export {mountUI as default} from './runtime.js'
|
export {mountUI as default} from './runtime.js'
|
||||||
Loading…
Reference in new issue