Skip to content

Commit ea2d16f

Browse files
committed
fix types
1 parent 3c841a1 commit ea2d16f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/test-utils/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ interface MountOptions<V extends Vue> extends ComponentOptions<V> {
113113
localVue?: typeof Vue
114114
mocks?: object
115115
slots?: Slots
116-
scopedSlots?: string
116+
scopedSlots?: object
117117
stubs?: Stubs,
118118
attrs?: object
119119
listeners?: object

packages/test-utils/types/test/mount.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ mount(ClassComponent, {
3333
foo: [normalOptions, functionalOptions],
3434
bar: ClassComponent
3535
},
36+
scopedSlots: {
37+
baz: `<div>Baz</div>`
38+
},
3639
stubs: {
3740
foo: normalOptions,
3841
bar: functionalOptions,

0 commit comments

Comments
 (0)