We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15a41f3 commit 09aec03Copy full SHA for 09aec03
packages/svelte2tsx/svelte-shims-v4.d.ts
@@ -146,7 +146,7 @@ declare function __sveltets_2_nonNullable<T>(type: T): NonNullable<T>;
146
declare function __sveltets_2_cssProp(prop: Record<string, any>): {};
147
148
// @ts-ignore Svelte v3/v4 don't have this
149
-declare function __sveltets_2_ensureSnippet(val: ReturnType<import('svelte').Snippet>): any;
+declare function __sveltets_2_ensureSnippet(val: ReturnType<import('svelte').Snippet> | undefined | null): any;
150
151
declare function __sveltets_2_snippet(): import('svelte').Snippet;
152
declare function __sveltets_2_snippet<T>(t: T): import('svelte').Snippet<[T]>;
0 commit comments