File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ declare module 'svelte' {
110
110
* you export a component called `MyComponent`. For Svelte+TypeScript users,
111
111
* you want to provide typings. Therefore you create a `index.d.ts`:
112
112
* ```ts
113
- * import { Component } from "svelte";
113
+ * import type { Component } from "svelte";
114
114
* export declare const MyComponent: Component<{ foo: string }> {}
115
115
* ```
116
116
* Typing this makes it possible for IDEs like VS Code with the Svelte extension
@@ -2962,4 +2962,4 @@ declare function $inspect<T extends any[]>(
2962
2962
*/
2963
2963
declare function $host < El extends HTMLElement = HTMLElement > ( ) : El ;
2964
2964
2965
- //# sourceMappingURL=index.d.ts.map
2965
+ //# sourceMappingURL=index.d.ts.map
You can’t perform that action at this time.
0 commit comments