chore: 统一管理 *.d.ts 文件

This commit is contained in:
pany
2022-04-21 13:25:02 +08:00
parent 5ce6eb37ca
commit 971fc3d257
5 changed files with 11 additions and 9 deletions

13
src/types/components.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
// generated by unplugin-vue-components
// We suggest you to commit this file into source control
// Read more: https://github.com/vuejs/vue-next/pull/3399
import '@vue/runtime-core'
declare module '@vue/runtime-core' {
export interface GlobalComponents {
ElButton: typeof import('element-plus/es')['ElButton']
HelloWorld: typeof import('./../components/HelloWorld.vue')['default']
}
}
export {}