Blame view

泰额版/Food Labeling Management App UniApp/src/env.d.ts 504 Bytes
59e51671   “wangming”   1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  /// <reference types="vite/client" />
  
  interface ImportMetaEnv {
    /** 美国版后端根地址,如 http://192.168.1.2:19001;H5 开发可留空走 Vite /api 代理 */
    readonly VITE_US_API_BASE?: string
  }
  
  interface ImportMeta {
    readonly env: ImportMetaEnv
  }
  
  declare module '*.vue' {
    import { DefineComponent } from 'vue'
    // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
    const component: DefineComponent<{}, {}, any>
    export default component
  }