File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -74,23 +74,27 @@ export class ComputedRefImpl<T = any> implements IComputed {
74
74
/**
75
75
* @internal
76
76
*/
77
- readonly __v_isRef = true
77
+ get __v_isRef ( ) {
78
+ return true
79
+ }
78
80
// TODO isolatedDeclarations ReactiveFlags.IS_REF
79
81
/**
80
82
* @internal
81
83
*/
82
84
readonly __v_isReadonly : boolean
83
85
// TODO isolatedDeclarations ReactiveFlags.IS_READONLY
84
86
85
- // for backwards compat
86
- get effect ( ) : this {
87
- return this
88
- }
89
- // for backwards compat
87
+ /**
88
+ * for backwards compat
89
+ * @internal
90
+ */
90
91
get dep ( ) : Dependency {
91
92
return this
92
93
}
93
- // for backwards compat
94
+ /**
95
+ * for backwards compat
96
+ * @internal
97
+ */
94
98
get _dirty ( ) : boolean {
95
99
const flags = this . flags
96
100
if ( flags & SubscriberFlags . Dirty ) {
You can’t perform that action at this time.
0 commit comments