wechat-miniprogram / wechat-miniprogram/api-typings
[api] wx.onWindowResize 返回参数缺少 screenWidth、screenHeight,实际有返回
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 803
- Forks
- 117
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
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 reviewing the wx.onWindowResize type declaration and the linked issue at xiaweiss/miniprogram-type#1. Confirm the actual callback return shape, then update the TypeScript definition so screenWidth and screenHeight are represented; the work is done when the declaration matches the reported API.
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
- Mostly clear
- Newbie friendliness
- 45/100