feat(reactivity): proxyRefs method and ShallowUnwrapRefs type (#1682)
* feat(reactivity): `proxyRefs` method and `ShallowUnwrapRefs` type BREAKING CHANGE: template auto ref unwrapping are now applied shallowly, i.e. only at the root level. See https://github.com/vuejs/vue-next/pull/1682 for more details.
This commit is contained in:
@@ -146,7 +146,7 @@ describe('with object props', () => {
|
||||
|
||||
// assert setup context unwrapping
|
||||
expectType<number>(this.c)
|
||||
expectType<string>(this.d.e)
|
||||
expectType<string>(this.d.e.value)
|
||||
expectType<GT>(this.f.g)
|
||||
|
||||
// setup context properties should be mutable
|
||||
|
||||
Reference in New Issue
Block a user