1904labs / dom-to-image-more

Generates an image from a DOM node using HTML5 canvas
Other
454 stars 98 forks source link

TypeScript type definitions do not exist #56

Open NickAcPT opened 2 years ago

NickAcPT commented 2 years ago

Use case: description, code

I want to use this library from within my Kotlin/JS project, but it does not contain any type definitions that could be used by the Dukat tool.

Expected behavior

High quality TypeScript type definitions exist and can be used to import this library into Kotlin/JS projects

Actual behavior (stack traces, console logs etc)

TypeScript type definitions are missing and thus interoperability is very limited/non existent.

Library version

2.9.5

Browsers

risalfajar commented 2 months ago

This is very important since more and more projects are using typescript now

IDisposable commented 2 months ago

I welcome a PR with a starting point.