From a9ece9e7f54282f9e198d370369d0938e1fd88ab Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Fri, 29 Aug 2025 09:59:34 +0800 Subject: [PATCH] =?UTF-8?q?chore(deps):=20=E6=9B=B4=E6=96=B0=20@uni-helper?= =?UTF-8?q?/eslint-config=20=E5=92=8C=20uni-env=20=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/typings.d.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fa0b355..a554080 100644 --- a/package.json +++ b/package.json @@ -134,9 +134,9 @@ "@iconify-json/carbon": "^1.2.4", "@rollup/rollup-darwin-x64": "^4.28.0", "@types/node": "^20.17.9", - "@uni-helper/eslint-config": "^0.4.0", + "@uni-helper/eslint-config": "^0.5.0", "@uni-helper/plugin-uni": "0.1.0", - "@uni-helper/uni-env": "^0.1.7", + "@uni-helper/uni-env": "^0.1.8", "@uni-helper/uni-types": "^1.0.0-alpha.6", "@uni-helper/unocss-preset-uni": "^0.2.11", "@uni-helper/vite-plugin-uni-components": "0.2.0", diff --git a/src/typings.d.ts b/src/typings.d.ts index 5d1cdd0..e427177 100644 --- a/src/typings.d.ts +++ b/src/typings.d.ts @@ -33,6 +33,7 @@ declare global { // patch uni 类型 // 1. 补全 uni.hideToast() 的 options 类型 // 2. 补全 uni.hideLoading() 的 options 类型 +// 3. 使用方式见:https://github.com/unibest-tech/unibest/pull/241 declare global { declare namespace UniNamespace { /** 接口调用结束的回调函数(调用成功、失败都会执行) */