wip: improve computed typing + test for setters

This commit is contained in:
Evan You
2019-08-21 12:01:05 -04:00
parent 8d99ab1ff8
commit 0aff144f93
6 changed files with 60 additions and 23 deletions

View File

@@ -32,7 +32,7 @@ describe('reactivity/value', () => {
expect(dummy).toBe(2)
})
it('should work like a normal property when nested in an observable', () => {
it('should work like a normal property when nested in a reactive object', () => {
const a = ref(1)
const obj = reactive({
a,