Does anyone know if there a TypeScript definition file (d.ts) available for the Html2Canvas library?
Html2Canvas is a great library for taking screenshots of a browser using JavaScript. See https://github.com/niklasvh/html2canvas for more details.
Since there didn't appear to be any definition files publicly available, I've created one and submitted it to DefinitelyTyped on GitHub. You can find it here:
https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/html2canvas
Hope others find this useful.
Cheers!
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments