fix import type

pull/11992/head
Dennis Dudek 2 years ago
parent c9e2a94c6e
commit b9bfb93b47
No known key found for this signature in database
GPG Key ID: 466422175AE09594

@ -113,7 +113,7 @@ export class SvelteComponent<
* you export a component called `MyComponent`. For Svelte+TypeScript users,
* you want to provide typings. Therefore you create a `index.d.ts`:
* ```ts
* import { Component } from "svelte";
* import type { Component } from "svelte";
* export declare const MyComponent: Component<{ foo: string }> {}
* ```
* Typing this makes it possible for IDEs like VS Code with the Svelte extension

Loading…
Cancel
Save