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
The drawbacks are that decorators for now can only be applied on class declaration, method, accessor, property, or parameter (not raw functions), and are an experimental feature (TS experimental JS stage 2 proposal). I feel it's not a problem as sooner or later it will be standardized and we can do the small adjustment later. Many big frameworks used or use decorators despite it, and after all, we provide it as optional opt-in feature.
The text was updated successfully, but these errors were encountered:
It could be cool to add decorators methods
instead of we doing now a lot of
The drawbacks are that decorators for now can only be applied on class declaration, method, accessor, property, or parameter (not raw functions), and are an experimental feature (TS experimental JS stage 2 proposal). I feel it's not a problem as sooner or later it will be standardized and we can do the small adjustment later. Many big frameworks used or use decorators despite it, and after all, we provide it as optional opt-in feature.
The text was updated successfully, but these errors were encountered: