From 64c7be3763f0c2ee72f83e0fe09129e7887d033d Mon Sep 17 00:00:00 2001 From: Cr <631807682@qq.com> Date: Sat, 12 Oct 2019 22:46:10 +0800 Subject: [PATCH] chore: remove redundant type cast (#230) --- packages/runtime-core/__tests__/helpers/toHandlers.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/runtime-core/__tests__/helpers/toHandlers.spec.ts b/packages/runtime-core/__tests__/helpers/toHandlers.spec.ts index a71ef3893f..e07cf14169 100644 --- a/packages/runtime-core/__tests__/helpers/toHandlers.spec.ts +++ b/packages/runtime-core/__tests__/helpers/toHandlers.spec.ts @@ -5,8 +5,8 @@ describe('toHandlers', () => { mockWarn() it('should not accept non-objects', () => { - toHandlers((null as unknown) as any) - toHandlers((undefined as unknown) as any) + toHandlers(null as any) + toHandlers(undefined as any) expect( 'v-on with no argument expects an object value.' -- 2.47.3