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
platform-express version : 8.4.5
microservices version : 8.4.5
schematics version : 8.0.11
testing version : 8.4.5
common version : 8.4.5
core version : 8.4.5
cli version : 8.2.6
Node.js version
16.13.2
In which operating systems have you tested?
macOS
Windows
Linux
Other
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current behavior
Return type of
MessageHandler
function isPromise<Observable<TResult>>
, while actually it returnsPromise<TResult>
.Minimum reproduction code
https://github.com/dkonasov/message-handler-typings-bug-demo/blob/b96262ee988bd62ab71f4dc6cbbfc996dcb1ab8b/src/demo-strategy.ts#L12
Steps to reproduce
No response
Expected behavior
Should be typed according to real return value
Package
@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
8.4.5
Packages versions
Node.js version
16.13.2
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: