Skip to content

Commit 8279cf0

Browse files
committed
fix(types): remove type parameters of mount/shallow with options object
1 parent 49381d2 commit 8279cf0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

types/test/mount.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { normalOptions, functionalOptions, Normal, ClassComponent } from './reso
66
* Should create wrapper vm based on (function) component options or constructors
77
* The users can specify component type via the type parameter
88
*/
9-
const normalWrapper = mount<Normal>(normalOptions)
9+
const normalWrapper = mount(normalOptions)
1010
const normalFoo: string = normalWrapper.vm.foo
1111

1212
const classWrapper = mount<ClassComponent>(ClassComponent)

types/test/shallow.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { normalOptions, functionalOptions, Normal, ClassComponent } from './reso
66
* Should create wrapper vm based on (function) component options or constructors
77
* The users can specify component type via the type parameter
88
*/
9-
const normalWrapper = shallow<Normal>(normalOptions)
9+
const normalWrapper = shallow(normalOptions)
1010
const normalFoo: string = normalWrapper.vm.foo
1111

1212
const classWrapper = shallow<ClassComponent>(ClassComponent)

0 commit comments

Comments
 (0)