Skip to content

Commit

Permalink
chore: update shims-vue.d.ts (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
HomyeeKing authored Feb 5, 2021
1 parent 068aaf1 commit 438c75a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/shims-vue.d.ts
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 438c75a

Please sign in to comment.