-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ctx.drawImage 方法与新版 canvas api 不一致 #111
Labels
WIP
Working in progress
Comments
定义里提供的 |
是的,目前返回的any。
目前官方文档已经不推荐使用 |
正在补了,wechat-miniprogram/minigame-api-typings#3 里也有跟踪 |
小程序已经原生支持ts了,canvas类型有很多问题,请问有什么进展吗。 |
SgLy
added a commit
that referenced
this issue
Jun 9, 2023
feat: update to v2.32.2 & add canvas rendering context typings. close #111
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Canvas 实例通过 SelectorQuery 获取,
ctx.drawImage方法的 imageResource 实际不支持字符串类型。
The text was updated successfully, but these errors were encountered: