2021-10-17 11:46:40 +08:00
|
|
|
/// <reference types="vite/client" />
|
2021-10-10 09:59:52 +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
|
|
|
|
}
|
2021-12-07 17:20:19 +08:00
|
|
|
|
2022-03-01 14:37:15 +08:00
|
|
|
interface ImportMetaEnv {
|
2023-12-26 14:15:03 +08:00
|
|
|
readonly VITE_NODE_ENV: string
|
2022-03-01 14:37:15 +08:00
|
|
|
readonly VITE_APP_TITLE: string
|
2023-06-08 09:47:18 +08:00
|
|
|
readonly VITE_API_BASE_PATH: string
|
2022-03-01 14:37:15 +08:00
|
|
|
readonly VITE_BASE_PATH: string
|
|
|
|
readonly VITE_DROP_DEBUGGER: string
|
|
|
|
readonly VITE_DROP_CONSOLE: string
|
|
|
|
readonly VITE_SOURCEMAP: string
|
|
|
|
readonly VITE_OUT_DIR: string
|
2023-12-26 14:15:03 +08:00
|
|
|
readonly VITE_USE_BUNDLE_ANALYZER: string
|
|
|
|
readonly VITE_USE_ALL_ELEMENT_PLUS_STYLE: string
|
|
|
|
readonly VITE_USE_MOCK: string
|
|
|
|
readonly VITE_USE_CSS_SPLIT: string
|
|
|
|
readonly VITE_USE_ONLINE_ICON: string
|
2022-03-01 14:37:15 +08:00
|
|
|
}
|
|
|
|
|
2021-12-07 17:20:19 +08:00
|
|
|
declare global {
|
|
|
|
interface ImportMeta {
|
2022-03-01 14:37:15 +08:00
|
|
|
readonly env: ImportMetaEnv
|
2021-12-07 17:20:19 +08:00
|
|
|
}
|
|
|
|
}
|