From 29de6f8b0bb1a604f247b0712daac29e93aa6f3e Mon Sep 17 00:00:00 2001 From: Evan You Date: Sat, 28 Sep 2024 19:24:55 +0800 Subject: [PATCH] chore: remove no longer used property on Dep --- packages/reactivity/src/dep.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/reactivity/src/dep.ts b/packages/reactivity/src/dep.ts index e7e9672dc9e..7e404874348 100644 --- a/packages/reactivity/src/dep.ts +++ b/packages/reactivity/src/dep.ts @@ -85,7 +85,6 @@ export class Dep { /** * For object property deps cleanup */ - target?: unknown = undefined map?: KeyToDepMap = undefined key?: unknown = undefined @@ -263,7 +262,6 @@ export function track(target: object, type: TrackOpTypes, key: unknown): void { let dep = depsMap.get(key) if (!dep) { depsMap.set(key, (dep = new Dep())) - dep.target = target dep.map = depsMap dep.key = key }