pull/5738/head
Simon Holthausen 5 years ago
parent 0a76378d8d
commit 23d56f6a62

@ -143,6 +143,10 @@ export class SvelteComponentDev extends SvelteComponent {
$inject_state() {} $inject_state() {}
} }
// TODO https://github.com/microsoft/TypeScript/issues/41770 is the reason
// why we have to split out SvelteComponentTyped to not break existing usage of SvelteComponent.
// Try to find a better way for Svelte 4.0.
export interface SvelteComponentTyped< export interface SvelteComponentTyped<
Props extends Record<string, any> = any, Props extends Record<string, any> = any,
Events extends Record<string, any> = any, Events extends Record<string, any> = any,

Loading…
Cancel
Save