Skip to content

Commit 0a2e3dc

Browse files
johnsoncodehkyyx990803
authored andcommitted
chore: make _computedsToAskDirty private
1 parent 30a2d61 commit 0a2e3dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/reactivity/src/computed.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ export class ComputedRefImpl<T> {
3838
public readonly [ReactiveFlags.IS_READONLY]: boolean = false
3939

4040
public _dirty = true
41-
public _computedsToAskDirty: ComputedRefImpl<any>[] = []
4241
public _cacheable: boolean
4342

43+
private _computedsToAskDirty: ComputedRefImpl<any>[] = []
4444
private _triggeredAfterLastEffect = false
4545

4646
constructor(

0 commit comments

Comments
 (0)