Update documentation/docs/07-misc/03-typescript.md

pull/14065/head
Rich Harris 2 years ago committed by GitHub
parent 186e915d82
commit ff2a29fcdc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -199,6 +199,8 @@ Using it together with dynamic components to restrict what kinds of component ca
To extract the properties from a component, use `ComponentProps`. To extract the properties from a component, use `ComponentProps`.
<!-- testing... -->
```ts ```ts
import type { Component, ComponentProps } from 'svelte'; import type { Component, ComponentProps } from 'svelte';
import MyComponent from './MyComponent.svelte'; import MyComponent from './MyComponent.svelte';

Loading…
Cancel
Save