fix: expose configureCompat types
see: https://github.com/vuejs/docs/pull/1475
This commit is contained in:
parent
a325e4b721
commit
0bd235cea3
1 changed files with 5 additions and 2 deletions
3
src/types/shims-vue.d.ts
vendored
3
src/types/shims-vue.d.ts
vendored
|
@ -3,6 +3,9 @@ declare module 'vue' {
|
||||||
const Vue: CompatVue
|
const Vue: CompatVue
|
||||||
export default Vue
|
export default Vue
|
||||||
export * from '@vue/runtime-dom'
|
export * from '@vue/runtime-dom'
|
||||||
|
|
||||||
|
const { configureCompat } = Vue
|
||||||
|
export { configureCompat }
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://next.vuex.vuejs.org/guide/migrating-to-4-0-from-3-x.html#typescript-support
|
// https://next.vuex.vuejs.org/guide/migrating-to-4-0-from-3-x.html#typescript-support
|
||||||
|
|
Loading…
Reference in a new issue