-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
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
swissqrbill 4 With typescript projects #422
Comments
I think the key is to use https://stackblitz.com/edit/schoero-swissqrbill-avypz7?file=src%2Fpdf.ts (open in chrome) |
Jup that solved it - thank you! |
With swissqrbill v4.0.2, it should now be possible to also use |
@schoero
|
Thank you for mentioning @pavelsvagr. I will have a look at it |
@pavelsvagr I was not able to reproduce your error. For me it always works, both for svg and pdf files 🤷♂️ But I have updated npm update svg-engine in your project and let me know if that fixed the problem? Would it otherwise be possible for you to provide a minimal example to reproduce the error? |
First - thank you so much for this package!
I unfortunately encountered one minor problem when using swissqrcode 4 in webpack + Typescript projects. It somehow is not able to resolve this imports:
It works when I add the "lib" prefix in each element of the export section within the package.json and changing the import to
Could it be that the build somehow is not supposed to generate the *d.ts files within the "lib" folders?
I can try to make an PR with a test to fix if you encouter the same error.
The text was updated successfully, but these errors were encountered: