Add ENV type checking.

This commit is contained in:
Patrick Fic
2025-03-25 20:10:01 -07:00
parent c7aa51f202
commit 2f712e24c9
4 changed files with 14 additions and 6 deletions

10
src/env.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
/// <reference types="vite/client" />
export interface ImportMetaEnv {
readonly VITE_FIREBASE_CONFIG: string;
readonly VITE_GRAPHQL_ENDPOINT: string;
}
export interface ImportMeta {
readonly env: ImportMetaEnv;
}