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
It doesn't seem like it's supported, and I see these errors:
TS1239: Unable to resolve signature of parameter decorator when called as an expression.Argument of type undefined is not assignable to parameter of type string | symbol
TS1271: Decorator function return type is void | TypedPropertyDescriptor<unknown> but is expected to be void or any Type TypedPropertyDescriptor<unknown> is not assignable to type void
I couldn't find anything to state if Parameter Properties are supported in some other way. Any way to do this currently? Or plans to support? Thank you 🙏
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey 👋 a million thanks to you for this great library.
So I know I can do this easily enough:
However if I want compact code using Parameter Properties like this:
It doesn't seem like it's supported, and I see these errors:
I couldn't find anything to state if Parameter Properties are supported in some other way. Any way to do this currently? Or plans to support? Thank you 🙏
Beta Was this translation helpful? Give feedback.
All reactions