env.d.ts 413 B

123456789101112131415161718
  1. /// <reference types="vite/client" />
  2. declare module '*.vue' {
  3. import type { DefineComponent } from 'vue'
  4. const component: DefineComponent<{}, {}, any>
  5. export default component
  6. }
  7. interface ImportMetaEnv {
  8. readonly VITE_APP_ENV: string
  9. readonly VITE_APP_BASE_API: string
  10. readonly VITE_APP_API_PREFIX: string
  11. readonly VITE_APP_TITLE: string
  12. }
  13. interface ImportMeta {
  14. readonly env: ImportMetaEnv
  15. }