-
Notifications
You must be signed in to change notification settings - Fork 394
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
TS support for new canvas #175
Comments
I've been working for a bit now on adding an The reason I haven't published it yet is because I know my usage of If you think this might be helpful to you though, I can try pushing up what I have and it can keep growing from there. |
I still would love to see native typescript support from this library though. I couldn't figure out how to add a typsecript loader/transformer to browserify in the canvas-sketch-cli code though, which I suspect is one of the fundamental changes required to support TS out of the box. |
@sfrieson Hey Steven, did you ever release this package? I found https://github.com/adameier/canvas-sketch-types/ |
@alvinometric I have not for the same reason I stated above. My usage is very limited. My intention is to publish it under Definitely Typed (@types/*), but it seems like it'd be nice to have good coverage before doing that, especially since their motto is "The repository for high quality TypeScript type definitions." Thanks for sharing that repo. It hasn't been updated in a while, but it seems more complete than what I have. Maybe what I have and what's there can be merged as a good starting place for Definitely Typed. Do you have any other thoughts? Are you interested in helping maintain/test? |
In addition to supporting |
I wasn't sure if you were interested in adding JSDoc comments to the code base, which is why I went the route of maintaining definition files locally to unblock myself. |
If you have the type definitions ready, feel free to submit a PR |
Add TS support for
canvas-sketch sketch.ts --new
Can we attempt to fix this issue ourselves, and create a PR? 🙏🏻
The text was updated successfully, but these errors were encountered: