chore: remove redundant type cast (#230)

This commit is contained in:
Cr 2019-10-12 22:46:10 +08:00 committed by Evan You
parent b2848b98e5
commit 64c7be3763

View File

@ -5,8 +5,8 @@ describe('toHandlers', () => {
mockWarn() mockWarn()
it('should not accept non-objects', () => { it('should not accept non-objects', () => {
toHandlers((null as unknown) as any) toHandlers(null as any)
toHandlers((undefined as unknown) as any) toHandlers(undefined as any)
expect( expect(
'v-on with no argument expects an object value.' 'v-on with no argument expects an object value.'