Skip to content

Commit 9f9da24

Browse files
committed
feat: update to v3.0.0 and add WXWebAssembly
1 parent a56354e commit 9f9da24

File tree

5 files changed

+12966
-12132
lines changed

5 files changed

+12966
-12132
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2023-06-09 v3.11.0
2+
- 更新 API 定义到 3.0.0
3+
- 暂未支持 [glass-easel](https://github.com/wechat-miniprogram/glass-easel) [Chaining API](https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/glass-easel/chaining-api.html) 的类型定义
4+
- 补齐 `WXWebAssembly` 定义
5+
16
## 2023-06-09 v3.10.0
27
- 更新 API 定义到 2.32.1
38
- 新增 CanvasRenderingContext 类型定义 [#111](https://github.com/wechat-miniprogram/api-typings/issues/111)

types/wx/index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ SOFTWARE.
2828
/// <reference path="./lib.wx.component.d.ts" />
2929
/// <reference path="./lib.wx.behavior.d.ts" />
3030
/// <reference path="./lib.wx.event.d.ts" />
31+
/// <reference path="./lib.wx.wasm.d.ts" />
3132

3233
declare namespace WechatMiniprogram {
3334
type IAnyObject = Record<string, any>
@@ -57,7 +58,8 @@ declare namespace WechatMiniprogram {
5758
type GainNode = any
5859
type BiquadFilterNode = any
5960
type PeriodicWaveNode = any
60-
type BufferSourceNode = any
61+
type AudioNode = any
62+
type AudioParam = any
6163
type ChannelSplitterNode = any
6264
type ChannelMergerNode = any
6365
type DelayNode = any

0 commit comments

Comments
 (0)