chore: remove unnecessary casting
This commit is contained in:
parent
f680074468
commit
fddef8bb74
@ -175,8 +175,8 @@ function doWatch(
|
||||
let isMultiSource = false
|
||||
|
||||
if (isRef(source)) {
|
||||
getter = () => (source as Ref).value
|
||||
forceTrigger = !!(source as Ref)._shallow
|
||||
getter = () => source.value
|
||||
forceTrigger = !!source._shallow
|
||||
} else if (isReactive(source)) {
|
||||
getter = () => source
|
||||
deep = true
|
||||
|
Loading…
Reference in New Issue
Block a user