Open-source PDF generation library built with TypeScript and React. Features a WYSIWYG template designer, PDF viewer, and powerful generation capabilities. Create custom PDFs effortlessly in both browser and Node.js environments.
I am encountering the same issue. Putting // @ts-ignore above the call to generate confirms that the library is working as intended, it's just that the typechecking fails.
Describe the bug
Here is the code that I have
For template, following typescript issue is reported
Another, issue is with
plugins
.The typescript issue for plugins is
To Reproduce
Just use the generate method with above types mentioned above.
Expected behavior
typescript issues should not be there
Your Environment
Your Error Log