Skip to content

Commit 2187e94

Browse files
committed
feat: default values for global.config
1 parent d6e1ac8 commit 2187e94

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/config.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { VueWrapper } from './vueWrapper'
44
import { DOMWrapper } from './domWrapper'
55

66
interface GlobalConfigOptions {
7-
global: GlobalMountOptions
7+
global: Required<GlobalMountOptions>
88
plugins: {
99
VueWrapper: Pluggable<VueWrapper<ComponentPublicInstance>>
1010
DOMWrapper: Pluggable<DOMWrapper<Element>>
@@ -56,7 +56,15 @@ export const config: GlobalConfigOptions = {
5656
stubs: {
5757
transition: true,
5858
'transition-group': true
59-
}
59+
},
60+
provide: {},
61+
components: {},
62+
config: {},
63+
directives: {},
64+
mixins: [],
65+
mocks: {},
66+
plugins: [],
67+
renderStubDefaultSlot: false
6068
},
6169
plugins: {
6270
VueWrapper: new Pluggable(),

0 commit comments

Comments
 (0)