types: improve type 'ReactiveEffect' with generics (#99)
This commit is contained in:
@@ -91,7 +91,7 @@ function doWatch(
|
||||
const instance = currentInstance
|
||||
const suspense = currentSuspense
|
||||
|
||||
let getter: Function
|
||||
let getter: () => any
|
||||
if (isArray(source)) {
|
||||
getter = () =>
|
||||
source.map(
|
||||
|
||||
Reference in New Issue
Block a user