regenerate types

pull/12425/head
Rich Harris 2 years ago
parent 806f7a7467
commit 08d2350aff

@ -366,7 +366,7 @@ declare module 'svelte' {
/** Anything except a function */ /** Anything except a function */
type NotFunction<T> = T extends Function ? never : T; type NotFunction<T> = T extends Function ? never : T;
/** /**
* Create a snippet imperatively using mount, hyrdate and render functions. * Create a snippet imperatively using mount, hydrate and render functions.
* */ * */
export function createRawSnippet<Params extends unknown[]>({ mount, hydrate }: { export function createRawSnippet<Params extends unknown[]>({ mount, hydrate }: {
mount: (...params: Getters<Params>) => Element; mount: (...params: Getters<Params>) => Element;

Loading…
Cancel
Save