env.d.ts 524 B

123456789101112131415161718192021
  1. /// <reference types="vite/client" />
  2. /// <reference types="unplugin-vue-components/vite" />
  3. declare module '*.vue' {
  4. import type { DefineComponent } from 'vue'
  5. const component: DefineComponent<{}, {}, any>
  6. export default component
  7. }
  8. interface ImportMetaEnv {
  9. readonly VITE_API_URL: string
  10. readonly VITE_IMAGE_URL: string
  11. readonly VITE_UPLOAD_URL: string
  12. readonly VITE_WS_URL: string
  13. readonly VITE_TENANT_ID: string
  14. readonly VITE_LIFF_ID: string
  15. }
  16. interface ImportMeta {
  17. readonly env: ImportMetaEnv
  18. }