feature: TypeScript

This commit is contained in:
Cindy Chang
2024-07-03 12:08:16 +08:00
parent ba4f70213d
commit 1991b4df63
4 changed files with 32 additions and 3 deletions

7
shims-vue.d.ts vendored Normal file
View File

@@ -0,0 +1,7 @@
// shims-vue.d.ts
declare module '*.vue' {
import { DefineComponent } from 'vue';
const component: DefineComponent<{}, {}, any>;
export default component;
}