chore: fix test type

This commit is contained in:
Evan You 2020-02-22 03:54:20 +01:00
parent 775a7c2b41
commit 0c67201942

View File

@ -142,7 +142,7 @@ describe('api: template refs', () => {
foo: ref(null),
bar: ref(null)
}
const refKey: Ref<keyof typeof refs> = ref('foo')
const refKey = ref('foo') as Ref<keyof typeof refs>
const Comp = {
setup() {