refactor: add vue component type declaration (#7)

This commit is contained in:
ayangweb
2025-03-28 23:24:26 +08:00
committed by GitHub
parent 17b8b07b00
commit fb5dfe82d7

7
src/vite-env.d.ts vendored
View File

@@ -1 +1,8 @@
/// <reference types="vite/client" />
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<object, object, any>
export default component
}