wechat-miniprogram / api-typings

Type definitions for APIs of Wechat Mini Program in TypeScript
MIT License
742 stars 112 forks source link

wx.request onChunkReceived 参数 定义错误 #301

Open lvgg3271 opened 1 year ago

lvgg3271 commented 1 year ago

onChunkReceived回调函数的参数是 type res = { data: ArrayBuffer }

type文件给定义成type res = { res: { data: Arraybuffer }}

lvgg3271 commented 1 year ago
image

好像文档本身就是错的