env.d.ts 602 B

12345678910111213141516171819202122
  1. declare interface ImportMetaEnv {
  2. readonly MODE: string
  3. readonly VITE_APP_TITLE: string
  4. readonly VITE_BASE_API: string
  5. readonly VITE_ROUTER_HISTORY: 'hash' | 'html5'
  6. readonly VITE_PUBLIC_PATH: string
  7. readonly VITE_HOST_IP: string
  8. readonly VITE_VIDEO_PORT: string
  9. readonly VITE_HEART_BEAT_PORT: string
  10. readonly VITE_WEBRTC_SIGNAL_IP: string
  11. readonly VITE_WEBRTC_SIGNAL_PORT: string
  12. }
  13. interface ImportMeta {
  14. readonly env: ImportMetaEnv
  15. }
  16. declare module '*.vue' {
  17. import { DefineComponent } from 'vue'
  18. const component: DefineComponent<{}, {}, any>
  19. export default component
  20. }