From e47c70d32e6fa7c9cb16ca19a79338ea36a83e94 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 10 六月 2025 16:38:37 +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