Просмотр исходного кода

chore(deps): 更新 @uni-helper/eslint-config 和 uni-env 依赖版本

feige996 8 месяцев назад
Родитель
Сommit
a9ece9e7f5
2 измененных файлов с 3 добавлено и 2 удалено
  1. 2 2
      package.json
  2. 1 0
      src/typings.d.ts

+ 2 - 2
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",

+ 1 - 0
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 {
     /** 接口调用结束的回调函数(调用成功、失败都会执行) */