mirror of https://github.com/sveltejs/svelte
Eases typing "this is a variable that expects a Svelte component constructor (of a certain shape)". Removes the need for SvelteComponentTyped to be an extra type so it can be deprecated in v4 and removed in v5, and SvelteComponent(Dev) can receive the same generic typings as SvelteComponetTyped in v4.pull/6770/head
parent
dbbac2837e
commit
359b3ecf8c
Loading…
Reference in new issue