NestJS param decorator return type

Viewed 533

Is there any way to infer the return type of a param decorator in a route handler method?

The UserName decorator is returning a string, but the route argument is any.

enter image description here

0 Answers
Related