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 df48d977ff
commit 7ea67cf732
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -283,8 +283,7 @@ export class SvelteComponentTyped<
export type ComponentType<T extends SvelteComponentTyped = SvelteComponentTyped<any, any, any>> = export type ComponentType<T extends SvelteComponentTyped = SvelteComponentTyped<any, any, any>> =
new (p: ComponentConstructorParams<T extends SvelteComponentTyped<infer X, any, any> ? X : any>) => T; new (p: ComponentConstructorParams<T extends SvelteComponentTyped<infer X, any, any> ? X : any>) => T;
/** * Convenience type to get the props the given component expects. Example:
* Convenience type to get the properties the given component expects. Example:
* ```html * ```html
* <script lang="ts"> * <script lang="ts">
* import type { ComponentProps } from 'svelte'; * import type { ComponentProps } from 'svelte';

Loading…
Cancel
Save