husq
2023-09-29 9c9038b7b7967408d6d99babcd4e09a7936e6646
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Environment variable definition
// https://cn.vitejs.dev/guide/env-and-mode.html#env-files
/// <reference types="vite/client" />
interface ImportMetaEnv {
  VITE_APP_ENVIRONMENT: 'DEV' | 'STAG' | 'UAT' | 'PROD',
  // api gateway
  VITE_APP_APIGATEWAY_BACKEND_HOST: string
  VITE_API_URL: string
  VITE_WS_API_URL: string
  // More environment variables...
}
 
interface ImportMeta {
  readonly env: ImportMetaEnv
}