Skip to content

Commit adce47f

Browse files
Update packages/svelte/src/internal/client/reactivity/types.d.ts
Co-authored-by: MotionlessTrain <[email protected]>
1 parent 84bcd00 commit adce47f

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/internal/client/reactivity

1 file changed

+1
-1
lines changed

packages/svelte/src/internal/client/reactivity/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export interface Effect extends Reaction {
4040
/** The associated component context */
4141
ctx: null | ComponentContext;
4242
/** The effect function */
43-
fn: null | (() => void) | (() => void);
43+
fn: null | (() => void | (() => void));
4444
/** The teardown function returned from the effect function */
4545
teardown: null | (() => void);
4646
/** Transition managers created with `$.transition` */

0 commit comments

Comments
 (0)