env.d.ts 910 B

1234567891011121314151617181920212223242526272829303132
  1. /// <reference types="vite/client" />
  2. declare module '*.vue' {
  3. import { DefineComponent } from 'vue'
  4. // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
  5. const component: DefineComponent<{}, {}, any>
  6. export default component
  7. }
  8. interface ImportMetaEnv {
  9. readonly VITE_APP_TITLE: string
  10. readonly VITE_PORT: number
  11. readonly VITE_OPEN: string
  12. readonly VITE_DEV: string
  13. readonly VITE_APP_CAPTCHA_ENABLE: string
  14. readonly VITE_APP_TENANT_ENABLE: string
  15. readonly VITE_APP_DOCALERT_ENABLE: string
  16. readonly VITE_BASE_URL: string
  17. readonly VITE_UPLOAD_URL: string
  18. readonly VITE_API_URL: string
  19. readonly VITE_BASE_PATH: string
  20. readonly VITE_DROP_DEBUGGER: string
  21. readonly VITE_DROP_CONSOLE: string
  22. readonly VITE_SOURCEMAP: string
  23. readonly VITE_OUT_DIR: string
  24. }
  25. declare global {
  26. interface ImportMeta {
  27. readonly env: ImportMetaEnv
  28. }
  29. }