Skip to content

Commit

Permalink
fix: allow falsy values for render tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Mar 19, 2024
1 parent 15a41f3 commit 09aec03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/svelte2tsx/svelte-shims-v4.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ declare function __sveltets_2_nonNullable<T>(type: T): NonNullable<T>;
declare function __sveltets_2_cssProp(prop: Record<string, any>): {};

// @ts-ignore Svelte v3/v4 don't have this
declare function __sveltets_2_ensureSnippet(val: ReturnType<import('svelte').Snippet>): any;
declare function __sveltets_2_ensureSnippet(val: ReturnType<import('svelte').Snippet> | 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: T): import('svelte').Snippet<[T]>;
Expand Down

0 comments on commit 09aec03

Please sign in to comment.