-
Notifications
You must be signed in to change notification settings - Fork 47
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
Error building project after Updating fasitfy-helmet to latest version 5.0.1 #94
Comments
What version of fastify-plugin have you got in your tree? Can you please include a full example (maybe a repo) to reproduce? thanks |
As far as I can see this is not an error. We still use old export here (not the "infamous triplet"). You have 4 options: set the skipLibCheck to true; set esModuleIntrop to true; import using import * as helmet from; send a PR to fix the exports :) |
@fox1t we should have the infamous triplet here as well ;) |
Yea, I agree. :) |
I am going to fix this. There is a problem with how we import helmet types too. Thanks for reporting this! |
🐛 Bug Report
Updating
fasitfy-helmet
to latest version5.0.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Throws this error
Cannot just enable
esModuleInterop
because it will trigger errors in many other modules.Your Environment
The text was updated successfully, but these errors were encountered: