We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84bcd00 commit adce47fCopy full SHA for adce47f
packages/svelte/src/internal/client/reactivity/types.d.ts
@@ -40,7 +40,7 @@ export interface Effect extends Reaction {
40
/** The associated component context */
41
ctx: null | ComponentContext;
42
/** The effect function */
43
- fn: null | (() => void) | (() => void);
+ fn: null | (() => void | (() => void));
44
/** The teardown function returned from the effect function */
45
teardown: null | (() => void);
46
/** Transition managers created with `$.transition` */
0 commit comments