19 lines
301 B
TypeScript
19 lines
301 B
TypeScript
interface ViteTypeOptions {
|
|
strictImportMetaEnv: unknown;
|
|
}
|
|
|
|
interface ImportMetaEnv {
|
|
readonly VITE_API_URL: string;
|
|
readonly VITE_API_KEY: string;
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv;
|
|
}
|
|
|
|
declare global {
|
|
interface window {
|
|
API_URL: string;
|
|
API_KEY: string;
|
|
}
|
|
}
|