Portfolio/vite-env.d.ts
Matthew L McPeak 29670b22ed
Some checks failed
ci / build (push) Failing after 10s
ci / publish (push) Has been skipped
Inital Commit
2026-06-18 10:53:05 -04:00

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;
}
}