From f01e5949f44c74ce85f74e37658ad848036b6b12 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 09 六月 2025 15:09:00 +0800 Subject: [PATCH] fix: v1.4 --- apps/taro/types/global.d.ts | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/taro/types/global.d.ts b/apps/taro/types/global.d.ts index 6c54fae..1c50f5c 100644 --- a/apps/taro/types/global.d.ts +++ b/apps/taro/types/global.d.ts @@ -31,12 +31,13 @@ [elem: string]: any; } } - - interface Window { - WeixinJSBridge: any - } + } +declare const OSS_URL: string +declare const WeixinJSBridge: any +declare const CLIENT_ORIGIN: string + declare namespace NodeJS { interface ProcessEnv { TARO_ENV: 'weapp' | 'swan' | 'alipay' | 'h5' | 'rn' | 'tt' | 'quickapp' | 'qq' | 'jd' -- Gitblit v1.9.1