We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any helps?
I using rollup to build my system
This is my code
import * as rasterizeHTML from 'rasterizehtml’; const canvas = document.createElement('canvas'); canvas.height = el.offsetHeight; canvas.width = el.offsetWidth; rasterizeHTML.drawHTML(el.outerHTML, canvas); reviewImage = canvas.toDataURL('image/jpeg');
The text was updated successfully, but these errors were encountered:
I haven't used rasterizeHTML.js with TypeScript. But somebody back then was nice enough to set it up, in a way similar to what is described under https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html.
So, there is a type description shipped under dist/rasterizeHTML.d.ts, which should do the job.
I haven't configured Rollup myself before, so can't offer any help here.
Sorry, something went wrong.
No branches or pull requests
Any helps?
I using rollup to build my system
This is my code
The text was updated successfully, but these errors were encountered: