-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathenv.d.ts
More file actions
19 lines (17 loc) · 678 Bytes
/
Copy pathenv.d.ts
File metadata and controls
19 lines (17 loc) · 678 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/// <reference types="vite/client" />
declare module '@personaxyz/ad-sdk';
// Vite injects env vars as strings whatever the .env file looks like. Declaring
// them as number/boolean hides bugs such as `"false"` being truthy.
interface ImportMetaEnv {
readonly VITE_REFRESH_INTERVAL?: string,
readonly VITE_FETCH_ALL_BLOCKS?: string,
readonly VITE_RECENT_BLOCK_LIMIT?: string,
readonly VITE_COINGECKO_URL?: string,
readonly VITE_GITHUB_API_URL?: string,
readonly VITE_PINGPUB_API_URL?: string,
readonly VITE_IBC_USE_GITHUB_API?: string,
readonly VITE_DEFAULT_THEME?: 'light' | 'dark',
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}