chore: type fix
This commit is contained in:
parent
03a7a73148
commit
1ff06376ff
@ -309,7 +309,7 @@ function doWatch(
|
||||
|
||||
let scheduler: ReactiveEffectOptions['scheduler']
|
||||
if (flush === 'sync') {
|
||||
scheduler = job
|
||||
scheduler = job as any // the scheduler function gets called directly
|
||||
} else if (flush === 'post') {
|
||||
scheduler = () => queuePostRenderEffect(job, instance && instance.suspense)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user