Skip to content

Commit

Permalink
chore: fix test type
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Feb 22, 2020
1 parent 775a7c2 commit 0c67201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/__tests__/apiTemplateRef.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 0c67201

Please sign in to comment.