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

Co-authored-by: MotionlessTrain <timothy@familie-de-moor.nl>
pull/11936/head
Rich Harris 2 years ago committed by GitHub
parent 84bcd005fd
commit adce47ff5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -40,7 +40,7 @@ export interface Effect extends Reaction {
/** The associated component context */
ctx: null | ComponentContext;
/** The effect function */
fn: null | (() => void) | (() => void);
fn: null | (() => void | (() => void));
/** The teardown function returned from the effect function */
teardown: null | (() => void);
/** Transition managers created with `$.transition` */

Loading…
Cancel
Save