14 lines
303 B
TypeScript
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;
|
|
}
|