Skip to content
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

CanvasRenderingContext2D missing #167

Closed
geoffliu opened this issue Nov 9, 2020 · 1 comment
Closed

CanvasRenderingContext2D missing #167

geoffliu opened this issue Nov 9, 2020 · 1 comment

Comments

@geoffliu
Copy link

geoffliu commented Nov 9, 2020

CanvasRenderingContext2D is used here: https://github.com/wechat-miniprogram/lottie-miniprogram/blob/master/src/index.d.ts#L8, and there could be other uses for that type as well.

Normally I would get that type by adding the dom lib in Typescript, but I can't do that with miniprogram-api-typing installed, because miniprogram-api-typing has definitions for console, which conflicts with the dom lib.

@SgLy
Copy link
Contributor

SgLy commented Jan 15, 2021

New canvas typing is WIP, track in #111

@SgLy SgLy closed this as completed Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants