chore: type fix

This commit is contained in:
Evan You 2021-05-27 20:58:27 -04:00
parent 03a7a73148
commit 1ff06376ff

View File

@ -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 {