env.d.ts 332 B

12345678910111213
  1. // / <reference types="vite/client" />
  2. interface ImportMetaEnv {
  3. readonly VITE_APP_BASE_ENV: string
  4. readonly VITE_APP_BASE_API: string
  5. readonly VITE_APP_BASE_DOMIAN: string
  6. readonly VITE_APP_KEY: string
  7. readonly VITE_APP_SECRET: string
  8. // 更多环境变量...
  9. }
  10. interface ImportMeta {
  11. readonly env: ImportMetaEnv
  12. }