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:
parent
068aaf14fa
commit
438c75ab24
14
src/shims-vue.d.ts
vendored
14
src/shims-vue.d.ts
vendored
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user