Skip to content

Commit 739a95c

Browse files
committed
feat: update baselib defs to 2.30.4
1 parent daaffe5 commit 739a95c

File tree

6 files changed

+1287
-492
lines changed

6 files changed

+1287
-492
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2023-04-10 v2.9.1
2+
- 更新 API 定义到 2.30.4
3+
- 修复页面 `onShareAppMessage` 异步形式的定义错误
4+
15
## 2023-01-12 v3.9.0
26
- 更新 API 定义到 2.29.1
37
- 将 xr-frame 的命名空间由 `WechatXrFrame` 改为 `XrFrame`。这是一个 **破坏性改动**

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "miniprogram-api-typings",
3-
"version": "3.9.0",
3+
"version": "3.9.1",
44
"description": "Type definitions for APIs of Wechat Mini Program in TypeScript",
55
"main": "./index.d.ts",
66
"types": "./index.d.ts",

types/wx/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ declare namespace WechatMiniprogram {
7171
// TODO: fill worklet type
7272
type WorkletFunction = (...args: any) => any
7373
type AnimationObject = any
74-
type SharedValue = any
75-
type DerivedValue = any
74+
type SharedValue<T = any> = T
75+
type DerivedValue<T = any> = T
7676
}
7777

7878
declare let console: WechatMiniprogram.Console

0 commit comments

Comments
 (0)