wechat-miniprogram / wechat-miniprogram/api-typings
wx.request onChunkReceived 参数 定义错误
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 803
- Forks
- 117
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
onChunkReceived回调函数的参数是 type res = { data: ArrayBuffer }
type文件给定义成type res = { res: { data: Arraybuffer }}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the TypeScript definition for wx.request and its onChunkReceived callback. Compare the declared parameter shape with the issue's documented shape, then verify that the callback type exposes data directly on res and run the repository's available type checks. Done means the declaration matches the reported API signature.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100