Skip to content

Commit fcff44f

Browse files
committed
fix: silence type error for type only available in Svelte 5
1 parent 09aec03 commit fcff44f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/svelte2tsx/svelte-shims-v4.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ declare function __sveltets_2_cssProp(prop: Record<string, any>): {};
149149
declare function __sveltets_2_ensureSnippet(val: ReturnType<import('svelte').Snippet> | undefined | null): any;
150150
// @ts-ignore Svelte v3/v4 don't have this
151151
declare function __sveltets_2_snippet(): import('svelte').Snippet;
152+
// @ts-ignore Svelte v3/v4 don't have this
152153
declare function __sveltets_2_snippet<T>(t: T): import('svelte').Snippet<[T]>;
153154

154155
/** @internal PRIVATE API, DO NOT USE */

0 commit comments

Comments
 (0)