chore: remove redundant type cast (#230)
This commit is contained in:
parent
b2848b98e5
commit
64c7be3763
@ -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.'
|
||||||
|
Loading…
Reference in New Issue
Block a user