Update src/runtime/internal/dev.ts

Co-authored-by: Hofer Ivan <ivan.hofer@outlook.com>
pull/6770/head
Simon H 4 years ago committed by GitHub
parent 5902668254
commit 6940665ffd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -287,7 +287,7 @@ export type ComponentType<T extends SvelteComponentTyped = SvelteComponentTyped<
* Convenience type to get the properties the given component expects. Example:
* ```html
* <script lang="ts">
* import { ComponentProps } from 'svelte';
* import type { ComponentProps } from 'svelte';
* import Component from './Component.svelte';
*
* const props: ComponentProps<Component> = { foo: 'bar' }; // Errors if these aren't the correct props

Loading…
Cancel
Save