fix: expose configureCompat types

see: https://github.com/vuejs/docs/pull/1475
This commit is contained in:
Dominik Pschenitschni 2022-01-30 17:24:38 +01:00
parent a325e4b721
commit 0bd235cea3
No known key found for this signature in database
GPG key ID: B257AC0149F43A77

View file

@ -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