chore: remove outdated options

This commit is contained in:
Evan You 2020-07-15 17:05:00 -04:00
parent 11727b9e1e
commit 4535b1bde8
2 changed files with 0 additions and 3 deletions

View File

@ -21,7 +21,6 @@ export interface ReactiveEffect<T = any> {
export interface ReactiveEffectOptions {
lazy?: boolean
computed?: boolean
scheduler?: (job: ReactiveEffect) => void
onTrack?: (event: DebuggerEvent) => void
onTrigger?: (event: DebuggerEvent) => void

View File

@ -275,8 +275,6 @@ function doWatch(
const runner = effect(getter, {
lazy: true,
// so it runs before component update effects in pre flush mode
computed: true,
onTrack,
onTrigger,
scheduler: applyCb ? () => scheduler(applyCb) : scheduler