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
npm i -g @nestjs/cli
nest new test_helmet
cd test_helmet
npm uninstall @nestjs/platform-express && npm install --save @nestjs/platform-fastify fastify @fastify/helmet
In my last issue, adapter.register(fastifyHelmet) app.register(fastifyHelmet) will get type error, but now only at this time adapter.register(fastifyHelmet) occurs type error
Is there an existing issue for this?
Current behavior
I also get the type error using override, but not using app.register
Minimum reproduction code
https://stackblitz.com/edit/nestjs-typescript-starter-yffp2u?file=src%2Fmain.ts
Steps to reproduce
In my last issue, adapter.register(fastifyHelmet) app.register(fastifyHelmet) will get type error, but now only at this time adapter.register(fastifyHelmet) occurs type error
Expected behavior
adapter.register(fastifyHelmet)
andapp.register(fastifyHelmet)
is okPackage
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
Other package
No response
NestJS version
9.2.0
Packages versions
Node.js version
16.17.0
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: