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
But what would that mean.. the decorator does not have access to the installation. the decorator runs only once at the class construction time, so at this point U is just any.
Well, that's a good question actually.. I was thinking about #2686, but that seems to be the only use-case of it. Closing this, since #2686 contains that already.
At the moment, parameter decorators cannot use generics of their parent function. Example:
Throws:
TS2304: Cannot find name 'U'.
Suggestion: allow using function generics in parameter decorators. The example should compile.
The text was updated successfully, but these errors were encountered: