feat(env): 添加 VITE_APP_PROXY 和 UNI_PLATFORM 类型声明
This commit is contained in:
parent
dd11e45d5f
commit
ee8fc19a47
3
src/env.d.ts
vendored
3
src/env.d.ts
vendored
@ -29,3 +29,6 @@ interface ImportMetaEnv {
|
|||||||
interface ImportMeta {
|
interface ImportMeta {
|
||||||
readonly env: ImportMetaEnv
|
readonly env: ImportMetaEnv
|
||||||
}
|
}
|
||||||
|
|
||||||
|
declare const __VITE_APP_PROXY__: 'true' | 'false'
|
||||||
|
declare const __UNI_PLATFORM__: 'app' | 'h5' | 'mp-alipay' | 'mp-baidu' | 'mp-kuaishou' | 'mp-lark' | 'mp-qq' | 'mp-tiktok' | 'mp-weixin' | 'mp-xiaochengxu'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user