为什么运行到浏览器就会报这个错误
[tsl] ERROR at uni_modules\uni-upgrade-center-app\utils\call-check-version.ts:87
17:41:45.230 TS2558:Expected 0 type arguments, but got 1.
17:41:45.230 [tsl] ERROR at uni_modules\uni-upgrade-center-app\utils\call-check-version.ts:91
17:41:45.234 TS2304:Cannot find name 'UniCloudError'.
17:41:45.234 [tsl] ERROR at uni_modules\uni-upgrade-center-app\utils\call-check-version.ts:97
17:41:45.238 TS18046:'e' is of type 'unknown'.
17:41:45.238 [tsl] ERROR at uni_modules\uni-upgrade-center-app\utils\check-update.ts:15
17:41:45.242 TS2355:A function whose declared type is neither 'void' nor 'any' must return a value.

EliaukI1
- 发布:2023-11-16 18:58
- 更新:2023-11-17 15:29
- 阅读:431

套马杆的套子 - 没有解决不了的问题,只有解决不完的问题
17:41:45.242 TS2355:A function whose declared type is neither 'void' nor 'any' must return a value.
u***@yeah.net
升级功能只在APP模式下有效,对于H5的要屏蔽调 #iifdef APP
2023-11-17 11:21
EliaukI1 (作者)
回复 u***@yeah.net: 你好,推荐用什么方法屏蔽呢
2023-11-17 14:46