@@ -179,7 +179,7 @@ function doWatch(
|
||||
getter = () => traverse(baseGetter())
|
||||
}
|
||||
|
||||
let cleanup: Function
|
||||
let cleanup: () => void
|
||||
const onInvalidate: InvalidateCbRegistrator = (fn: () => void) => {
|
||||
cleanup = runner.options.onStop = () => {
|
||||
callWithErrorHandling(fn, instance, ErrorCodes.WATCH_CLEANUP)
|
||||
|
||||
Reference in New Issue
Block a user