cwait/packages/ui/vite-env.d.ts
2025-04-02 17:07:30 +03:00

18 lines
337 B
TypeScript

/// <reference types="vite/client" />
type ImportMetaEnv = {
readonly VITE_API_URL: string;
readonly MOCKS: boolean;
// more env variables...
} & {
readonly [key: `VITE_${string}`]: string | undefined;
};
interface ImportMeta {
readonly env: ImportMetaEnv;
}
interface CustomWindow extends Window {
__MOCKS__?: boolean;
}