Skip to content

Commit

Permalink
chore: remove no longer used property on Dep
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Sep 28, 2024
1 parent 2328b05 commit 29de6f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/reactivity/src/dep.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ export class Dep {
/**
* For object property deps cleanup
*/
target?: unknown = undefined
map?: KeyToDepMap = undefined
key?: unknown = undefined

Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 29de6f8

Please sign in to comment.