Skip to content

Commit 960ef16

Browse files
authored
chore(reactivity): remove unnecessary RefImpl _shallow default value (vuejs#3895)
1 parent 011dee8 commit 960ef16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/reactivity/src/ref.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class RefImpl<T> {
5656

5757
public readonly __v_isRef = true
5858

59-
constructor(private _rawValue: T, public readonly _shallow = false) {
59+
constructor(private _rawValue: T, public readonly _shallow: boolean) {
6060
this._value = _shallow ? _rawValue : convert(_rawValue)
6161
}
6262

0 commit comments

Comments
 (0)