Skip to content

Commit

Permalink
fix: silence type error for type only available in Svelte 5
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Mar 20, 2024
1 parent 09aec03 commit fcff44f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/svelte2tsx/svelte-shims-v4.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ declare function __sveltets_2_cssProp(prop: Record<string, 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;
// @ts-ignore Svelte v3/v4 don't have this
declare function __sveltets_2_snippet<T>(t: T): import('svelte').Snippet<[T]>;

/** @internal PRIVATE API, DO NOT USE */
Expand Down

0 comments on commit fcff44f

Please sign in to comment.