Skip to content

Commit f87c69c

Browse files
committed
chore: add link with solution for Vue components resolution
vuejs/vue-cli#1198 (comment)
1 parent 96b7c63 commit f87c69c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/shims-vue.d.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
// https://github.com/vuejs/vue-cli/issues/1198#issuecomment-1139752067
2+
13
declare module '*.vue' {
2-
import { DefineComponent } from 'vue';
3-
const component: DefineComponent<{}, {}, any>;
4+
import type { DefineComponent } from 'vue';
5+
const component: DefineComponent;
46
export default component;
57
}

0 commit comments

Comments
 (0)