Skip to content

Commit

Permalink
fix(test:vuejs3-typescript): add typescript types for .vue modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal committed Jun 3, 2021
1 parent 30cc073 commit a7e7180
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fixtures/vuejs3-typescript/types/shims-vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
declare module '*.vue' {
import { defineComponent } from 'vue';

const component: ReturnType<typeof defineComponent>;
export default component;
}

0 comments on commit a7e7180

Please sign in to comment.