Enable fully typed param decorators #1286
Labels
Community 👨👧
Something initiated by a community
Discussion 💬
Brainstorm about the idea
Enhancement 🆕
New feature or request
Milestone
Is your feature request related to a problem? Please describe.
It is frustrating that param decorators cannot be fully type checked.
Describe the solution you'd like
It may be that TypeScript itself is preventing this from happening, but I think this would be a great addition:
It seems like the
ParameterDecorator
type from TS itself may prevent this from happening (I'm brand new to TS metadata)?Describe alternatives you've considered
Can't think of any alternatives, happy to hear them!
Additional context
I can provide a PR with implementation, tests, and examples, but need a nudge in the right direction.
The text was updated successfully, but these errors were encountered: