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
7
src/types/shims-vue.d.ts
vendored
7
src/types/shims-vue.d.ts
vendored
|
@ -1,8 +1,11 @@
|
|||
declare module 'vue' {
|
||||
import { CompatVue } from '@vue/runtime-dom'
|
||||
const Vue: CompatVue
|
||||
export default Vue
|
||||
export * from '@vue/runtime-dom'
|
||||
export default Vue
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue