Skip to content

Commit 2ab20e0

Browse files
committed
fix type
1 parent f20cfec commit 2ab20e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/svelte/src/ambient.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ declare namespace $state {
8383
* https://svelte-5-preview.vercel.app/docs/runes#$state.is
8484
*
8585
*/
86-
export function is(a: unknown, b: unknown): boolean;
86+
export function is(a: any, b: any): boolean;
8787

8888
// prevent intellisense from being unhelpful
8989
/** @deprecated */

packages/svelte/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2644,7 +2644,7 @@ declare namespace $state {
26442644
* https://svelte-5-preview.vercel.app/docs/runes#$state.is
26452645
*
26462646
*/
2647-
export function is(a: unknown, b: unknown): boolean;
2647+
export function is(a: any, b: any): boolean;
26482648

26492649
// prevent intellisense from being unhelpful
26502650
/** @deprecated */

0 commit comments

Comments
 (0)