/// // Vue模块声明 declare module '*.vue' { import type { DefineComponent } from 'vue' const component: DefineComponent<{}, {}, any> export default component } // 环境变量接口 interface ImportMetaEnv { readonly VITE_APP_TITLE: string readonly VITE_APP_ENV: string readonly VITE_APP_BASE_API: string readonly VITE_APP_VERSION: string readonly VITE_BUILD_VERSION: string readonly [key: string]: any } interface ImportMeta { readonly env: ImportMetaEnv } // API模块通配符声明 declare module '@/api/system/*' { const content: any export default content export * from '@/api/system/*' }