Files
YANPM/apps/frontend/app/vite-env.d.ts
2025-12-05 20:28:59 +08:00

14 lines
303 B
TypeScript

interface ViteTypeOptions {
// By adding this line, you can make the type of ImportMetaEnv strict
// to disallow unknown keys.
// strictImportMetaEnv: unknown
}
interface ImportMetaEnv {
readonly VITE_API_BASE_URL: string | undefined;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}