Skip to content

Commit 1918f62

Browse files
committed
feat: update baselib defs to 3.12.0
1 parent 560a5a9 commit 1918f62

File tree

3 files changed

+761
-261
lines changed

3 files changed

+761
-261
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 2025-12-03 v4.1.1
2+
- 更新 API 定义到 3.12.0
3+
14
## 2025-07-15 v4.1.0
25
- 修改 `getOpenerEventChannel` 的返回值的类型,使其有可能返回空对象,以正确反映实际情况。这是一个 **破坏性改动**`getOpenerEventChannel` 的返回值上的 `emit`, `on` 等方法不再可以直接调用 ([#350](https://github.com/wechat-miniprogram/api-typings/issues/350))
36
- 解决依赖安全问题

test/component.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Component({
6262
moved() {},
6363
detached() {},
6464
error(err) {
65-
expectType<WechatMiniprogram.Error>(err)
65+
expectType<Error>(err)
6666
},
6767
},
6868

0 commit comments

Comments
 (0)