skia-canvas provides some awesome features, but unfortunately it cannot be used in TypeScript projects due to the lack of type declaration files.
Although there is @types/skia-canvas, it obviously doesn't keep up with current API updates, and the declaration file it currently provides doesn't exactly match skia-canvas.
My suggestion is to add an index.d.ts file to declare the types, or try to rewrite the JavaScript part of the project in TypeScript?
skia-canvas
provides some awesome features, but unfortunately it cannot be used in TypeScript projects due to the lack of type declaration files.Although there is
@types/skia-canvas
, it obviously doesn't keep up with current API updates, and the declaration file it currently provides doesn't exactly matchskia-canvas
.My suggestion is to add an
index.d.ts
file to declare the types, or try to rewrite the JavaScript part of the project in TypeScript?