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
IntersectionType breaks returning value of methods #1321
Comments
maioradv
changed the title
IntersectionType break methods
IntersectionType breaks value returning of methods
Feb 16, 2024
maioradv
changed the title
IntersectionType breaks value returning of methods
IntersectionType breaks returning value of methods
Feb 16, 2024
Please provide a minimum reproduction repository (Git repository/StackBlitz/CodeSandbox project). why reproductions are required |
Try /test
|
Looks like your issue is that the |
That's correct @jmcdo29 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Current behavior
I'm trying to interect two classes to obtain a dto like that:
but when i type queryPageDto.skip (or take) also if is suggested they always returns undefined
i tried that whitout IntersectionType and obviously works.
Minimum reproduction code
https://github.com
Steps to reproduce
No response
Expected behavior
I'm expecting returning values
Package version
2.0.5
Node.js version
20.11.0
In which operating systems have you tested?
Other
"@nestjs/mapped-types": "*",
"@nestjs/swagger": "^7.2.0",
The text was updated successfully, but these errors were encountered: