env.d.ts 262 B

123456789101112
  1. /// <reference types="vite/client" />
  2. interface ImportMetaEnv {
  3. readonly VITE_APP_TITLE: string
  4. readonly VITE_APP_ENV: string
  5. readonly VITE_APP_BASE_API: string
  6. // 更多环境变量...
  7. }
  8. interface ImportMeta {
  9. readonly env: ImportMetaEnv
  10. }