Skip to content

Commit bad9182

Browse files
committed
fix types
1 parent cc994e0 commit bad9182

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/reactivity/src/computed.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,10 @@ export class ComputedRefImpl<T = any> implements Dependency, Subscriber {
8787
get dep(): Dependency {
8888
return this
8989
}
90-
// for backwards compat
90+
/**
91+
* @internal
92+
* for backwards compat
93+
*/
9194
get _dirty(): boolean {
9295
const flags = this.flags
9396
if (
@@ -99,6 +102,10 @@ export class ComputedRefImpl<T = any> implements Dependency, Subscriber {
99102
}
100103
return false
101104
}
105+
/**
106+
* @internal
107+
* for backwards compat
108+
*/
102109
set _dirty(v: boolean) {
103110
if (v) {
104111
this.flags |= SubscriberFlags.Dirty

0 commit comments

Comments
 (0)