Skip to content

Commit 0c67201

Browse files
committed
chore: fix test type
1 parent 775a7c2 commit 0c67201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/__tests__/apiTemplateRef.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ describe('api: template refs', () => {
142142
foo: ref(null),
143143
bar: ref(null)
144144
}
145-
const refKey: Ref<keyof typeof refs> = ref('foo')
145+
const refKey = ref('foo') as Ref<keyof typeof refs>
146146

147147
const Comp = {
148148
setup() {

0 commit comments

Comments
 (0)