Skip to content

Commit ad68068

Browse files
Update packages/svelte/svelte-types.d.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Miccy <code@miccy.dev>
1 parent d3662c3 commit ad68068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/svelte-types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
declare function $state<T>(initialValue: T): T;
2-
declare function $effect(fn: () => undefined | (() => void)): void;
2+
declare function $effect(fn: () => void | (() => void)): void;

0 commit comments

Comments
 (0)