You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
Seems like types are well created but doesn't seem to be included in the npm package. Including them will help a lot of folks who are struggling to use this package in Typescript projects.
Also Thank you for all the hard work you put into this project.
The text was updated successfully, but these errors were encountered:
How do I get and use the typings file? I see they exist, but if I try copy+paste the code over into an index.d.ts file, TS just complains that it is not a module.
File '.../jspdf-yworks/index.d.ts' is not a module.
Update:
This solves any issues thrown by typescript, but fails in actual use. Likely because it's no longer a module that exports an actual class. I know nothing of creating Typings files, and only have a basic knowledge of producing typesafed code, so this is honestly all trial and error.
TypeError: jspdf_yworks__WEBPACK_IMPORTED_MODULE_5__.jsPDF is not a constructor
Seems like types are well created but doesn't seem to be included in the npm package. Including them will help a lot of folks who are struggling to use this package in Typescript projects.
Also Thank you for all the hard work you put into this project.
The text was updated successfully, but these errors were encountered: