From: Evan You Date: Sat, 22 Feb 2020 02:54:20 +0000 (+0100) Subject: chore: fix test type X-Git-Tag: v3.0.0-alpha.6~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c672019422b6a5dbc5fdb43f00a8a998a40dc18;p=thirdparty%2Fvuejs%2Fcore.git chore: fix test type --- diff --git a/packages/runtime-core/__tests__/apiTemplateRef.spec.ts b/packages/runtime-core/__tests__/apiTemplateRef.spec.ts index 8ff6b2c59e..68b14dd2b2 100644 --- a/packages/runtime-core/__tests__/apiTemplateRef.spec.ts +++ b/packages/runtime-core/__tests__/apiTemplateRef.spec.ts @@ -142,7 +142,7 @@ describe('api: template refs', () => { foo: ref(null), bar: ref(null) } - const refKey: Ref = ref('foo') + const refKey = ref('foo') as Ref const Comp = { setup() {