Blame view

src/env.d.ts 414 Bytes
532def1c   王彪总   新版本
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  /// <reference types="vite/client" />
  
  declare module '*.vue' {
    import type { DefineComponent } from 'vue'
    const component: DefineComponent<{}, {}, any>
    export default component
  }
  
  interface ImportMetaEnv {
    readonly VITE_APP_TITLE: string
    readonly VITE_BASE_PATH: string
    readonly VITE_API_BASE_URL: string
    readonly VITE_PROXY_TARGET?: string
  }
  
  interface ImportMeta {
    readonly env: ImportMetaEnv
  }