Files
lgp-admin-plus/apps/desktop/src/env.d.ts
2026-08-13 19:04:28 +08:00

13 lines
338 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* electron-vite 构建期注入的环境变量类型声明
* 值来源见 apps/desktop/.env.development / .env.production
*/
interface ImportMetaEnv {
/** /api 转发上游地址(MAIN_VITE_ 前缀 = 仅主进程可见) */
readonly MAIN_VITE_API_UPSTREAM?: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}