CanvasKit and Typescript

62 views
Skip to first unread message

corey....@gmail.com

unread,
Aug 12, 2020, 11:26:09 AM8/12/20
to skia-discuss
It would be great if you guys could contribute back to https://www.npmjs.com/package/@types/canvaskit-wasm or provide your own TypeScript type description for the latest revisions of CanvasKit.  

I'm maintaining my own in a scattered as needed fashion which won't scale to general use. 


Kevin Lubick

unread,
Aug 13, 2020, 9:16:04 AM8/13/20
to skia-discuss
I'll add it to the list of things we'd like for a 1.0.0 release.

kjlu...@google.com

unread,
Oct 6, 2020, 9:14:39 AM10/6/20
to skia-discuss
We have written our own types (and documented them) in https://github.com/google/skia/blob/master/modules/canvaskit/canvaskit/types/index.d.ts

I have a pull request out to contribute them to DefinitelyTyped.
Reply all
Reply to author
Forward
0 new messages