env.d.ts 475 B

123456789101112131415161718
  1. /// <reference types="vite/client" />
  2. declare module '*.vue' {
  3. import type { DefineComponent } from 'vue';
  4. // eslint-disable5le-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_BASE_API: string;
  10. readonly VITE_IMG_API: string;
  11. readonly VITE_TEMP_TOKEN: string;
  12. }
  13. interface ImportMeta {
  14. readonly env: ImportMetaEnv;
  15. }