-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Tighter parameter decorator checking with --experimentalDecorators
#52435
Comments
Was this...possibly always a bug with |
--experimentalDecorators
--experimentalDecorators
Yes, it seems this was a bug in type-checking parameter decorators on constructors under In #50820, we fixed up the way we type-checked decorators. This catches some issues, like decorators which expect a defined |
--experimentalDecorators
--experimentalDecorators
|
Is tsyringe affected? |
I filed an issue at NestJS over at #52435. I'm not sure how active TSyringe is at the moment. |
This issue has been marked 'Working as Intended' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
I was able to solve this problem by adding these parameters to the I used NOTE: when I inserted it at the end of the file it didn't work, only when I put it at the beginning
I hope I can help 😄 |
Previously: no error
In
main
/5.0:The text was updated successfully, but these errors were encountered: