Skip to content

Commit 8b391d2

Browse files
authored
docs(helmet): Remove redundant hint
1 parent abe469d commit 8b391d2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

content/security/helmet.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ import helmet from 'helmet';
2020
app.use(helmet());
2121
```
2222

23-
> info **Hint** If you are getting the `This expression is not callable` error while trying to import `Helmet`, you very likely have the `allowSyntheticDefaultImports` and `esModuleInterop` options set to `true` in your project's `tsconfig.json` file. If that's the case, change the import statement to: `import helmet from 'helmet'` instead.
24-
2523
#### Use with Fastify
2624

2725
If you are using the `FastifyAdapter`, install the [@fastify/helmet](https://github.com/fastify/fastify-helmet) package:

0 commit comments

Comments
 (0)