types: Use unique symbol type for _isRef property of ref object (#118)
This commit is contained in:
@@ -131,7 +131,7 @@ export function track(
|
||||
targetMap.set(target, (depsMap = new Map()))
|
||||
}
|
||||
let dep = depsMap.get(key!)
|
||||
if (!dep) {
|
||||
if (dep === void 0) {
|
||||
depsMap.set(key!, (dep = new Set()))
|
||||
}
|
||||
if (!dep.has(effect)) {
|
||||
|
||||
Reference in New Issue
Block a user