chore: fix test type
This commit is contained in:
parent
775a7c2b41
commit
0c67201942
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user