diff --git a/packages/svelte2tsx/svelte-shims-v4.d.ts b/packages/svelte2tsx/svelte-shims-v4.d.ts index ceb95425a..61efa681a 100644 --- a/packages/svelte2tsx/svelte-shims-v4.d.ts +++ b/packages/svelte2tsx/svelte-shims-v4.d.ts @@ -146,7 +146,7 @@ declare function __sveltets_2_nonNullable(type: T): NonNullable; declare function __sveltets_2_cssProp(prop: Record): {}; // @ts-ignore Svelte v3/v4 don't have this -declare function __sveltets_2_ensureSnippet(val: ReturnType): any; +declare function __sveltets_2_ensureSnippet(val: ReturnType | undefined | null): any; // @ts-ignore Svelte v3/v4 don't have this declare function __sveltets_2_snippet(): import('svelte').Snippet; declare function __sveltets_2_snippet(t: T): import('svelte').Snippet<[T]>;