Closed cprecioso closed 2 years ago
Closes #50
I imported the types from @types/skia-canvas, and updated them to the current API. I also added a // @ts-check annotation to the tests so they also work to check that the surface is correctly typed.
@types/skia-canvas
// @ts-check
You're welcome, and thanks for the detailed review!
Btw @samizdatco if you do a release, I'll send a PR over to https://github.com/DefinitelyTyped/DefinitelyTyped to remove the types now that they're bundled
Closes #50
I imported the types from
@types/skia-canvas
, and updated them to the current API. I also added a// @ts-check
annotation to the tests so they also work to check that the surface is correctly typed.