chore: update shims-vue.d.ts (#46)

see https://github.com/vuejs/vue-next-webpack-preview/issues/5#issuecomment-579823346
This commit is contained in:
Homyee King 2021-02-04 18:22:30 -06:00 committed by GitHub
parent 068aaf14fa
commit 438c75ab24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
src/shims-vue.d.ts vendored
View File

@ -1,11 +1,11 @@
import { defineComponent } from 'vue'
/* eslint-disable import/no-duplicates */
declare module '*.vue' {
const Component: ReturnType<typeof defineComponent>
export default Component
import { ComponentOptions } from 'vue'
const component: ReturnType<ComponentOptions>
export default component
}
declare module '*.md' {
const Component: ReturnType<typeof defineComponent>
export default Component
import { ComponentOptions } from 'vue'
const component: ReturnType<ComponentOptions>
export default component
}