diff --git a/types/global.d.ts b/types/global.d.ts index 0457ca6..be6b248 100644 --- a/types/global.d.ts +++ b/types/global.d.ts @@ -69,6 +69,9 @@ declare const API_BASE_URL: string; declare const APP_NAME: string; declare const DEBUG: string; +// 微信小程序原生全局对象 wx +declare const wx: any; + // 基础类型定义 declare global { /** 通用ID类型 */