Skip to content

Commit c33fb5d

Browse files
committed
feat: add TypeScript declaration for Vue components
1 parent 955fa1d commit c33fb5d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

shims-vue.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
declare module '*.vue' {
2+
import type { DefineComponent } from 'vue';
3+
const component: DefineComponent<{}, {}, any>;
4+
export default component;
5+
}

0 commit comments

Comments
 (0)