2023-12-21 15:26:15 +08:00
|
|
|
/// <reference types="vite/client" />
|
2023-12-23 12:04:31 +08:00
|
|
|
/// <reference types="vite-svg-loader" />
|
2023-12-21 15:26:15 +08:00
|
|
|
|
|
|
|
declare module '*.vue' {
|
|
|
|
import { DefineComponent } from 'vue'
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
|
|
const component: DefineComponent<{}, {}, any>
|
|
|
|
export default component
|
|
|
|
}
|
2023-12-23 12:04:31 +08:00
|
|
|
|
|
|
|
interface ImportMetaEnv {
|
|
|
|
readonly VITE_APP_TITLE: string
|
|
|
|
readonly VITE_SERVER_PORT: string
|
|
|
|
// 更多环境变量...
|
|
|
|
}
|
|
|
|
|
|
|
|
interface ImportMeta {
|
|
|
|
readonly env: ImportMetaEnv
|
|
|
|
}
|