Skip to content

Commit 87474dc

Browse files
committed
Export MountingOptions
1 parent 8a1f348 commit 87474dc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { mount, shallowMount } from './mount'
1+
import { mount, shallowMount, MountingOptions } from './mount'
22
import { RouterLinkStub } from './components/RouterLinkStub'
33
import { VueWrapper } from './vueWrapper'
44
import { DOMWrapper } from './domWrapper'
@@ -12,5 +12,6 @@ export {
1212
VueWrapper,
1313
DOMWrapper,
1414
config,
15-
flushPromises
15+
flushPromises,
16+
MountingOptions
1617
}

src/mount.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type SlotDictionary = {
4949
[key: string]: Slot
5050
}
5151

52-
interface MountingOptions<Props, Data = {}> {
52+
export interface MountingOptions<Props, Data = {}> {
5353
data?: () => {} extends Data ? any : Data extends object ? Partial<Data> : any
5454
props?: Props
5555
/** @deprecated */

0 commit comments

Comments
 (0)