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
I have some type checking setup on my project and I'm getting a weird linting error.
const helmet: typeof import(".../node_modules/helmet/dist/index")
With the error being:
This expression is not callable. Type 'typeof import(".../node_modules/helmet/dist/index")' has no call signatures.
So far I'm just getting around this by casting the type to any. That works fine, but thought I might point it out here.
any
The text was updated successfully, but these errors were encountered:
This looks like a TypeScript error that's being discussed in #235, so I'm going to close this issue.
You should be able to fix this in the next version which should be released soon. You can try it out today with npm install [email protected].
npm install [email protected]
Hope this helps!
Sorry, something went wrong.
Oh yeah looks like it. Sorry, I did a search and nothing came up. Thanks for taking a look
No worries at all. Feel free to open a new issue if anything else comes up, and I'd appreciate your feedback on the release candidate.
No branches or pull requests
I have some type checking setup on my project and I'm getting a weird linting error.
const helmet: typeof import(".../node_modules/helmet/dist/index")
With the error being:
So far I'm just getting around this by casting the type to
any
. That works fine, but thought I might point it out here.The text was updated successfully, but these errors were encountered: