Add ENV type checking.
This commit is contained in:
10
src/env.d.ts
vendored
Normal file
10
src/env.d.ts
vendored
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user