Portfolio/vite-env.d.ts
Matthew L McPeak f2251380ec
Some checks failed
ci / build (push) Failing after 14s
ci / publish (push) Has been skipped
Inital Commit
2026-06-18 11:34:29 -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;
}
}