fix: 环境变量类型统一为字符串并移除未使用的 VITE_APP_NAME
This commit is contained in:
5
types/env.d.ts
vendored
5
types/env.d.ts
vendored
@@ -4,13 +4,12 @@
|
|||||||
* Vite 环境变量类型定义
|
* Vite 环境变量类型定义
|
||||||
*/
|
*/
|
||||||
interface ImportMetaEnv {
|
interface ImportMetaEnv {
|
||||||
readonly VITE_APP_PORT: number;
|
readonly VITE_APP_PORT: string;
|
||||||
readonly VITE_APP_NAME: string;
|
|
||||||
readonly VITE_APP_BASE_API: string;
|
readonly VITE_APP_BASE_API: string;
|
||||||
readonly VITE_APP_API_URL: string;
|
readonly VITE_APP_API_URL: string;
|
||||||
readonly VITE_APP_TITLE?: string;
|
readonly VITE_APP_TITLE?: string;
|
||||||
readonly VITE_APP_TENANT_ENABLED?: string;
|
readonly VITE_APP_TENANT_ENABLED?: string;
|
||||||
readonly VITE_MOCK_DEV_SERVER: boolean;
|
readonly VITE_MOCK_DEV_SERVER: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ImportMeta {
|
interface ImportMeta {
|
||||||
|
|||||||
Reference in New Issue
Block a user