Skip to content

Commit

Permalink
chore(types): use EffectScheduler type for its queue (#10023)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuseen-l committed Jan 9, 2024
1 parent 64e9c96 commit 03b5496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/reactivity/src/effect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export function trackEffect(
}
}

const queueEffectSchedulers: (() => void)[] = []
const queueEffectSchedulers: EffectScheduler[] = []

export function triggerEffects(
dep: Dep,
Expand Down

0 comments on commit 03b5496

Please sign in to comment.