-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
Domain: DecoratorsThe issue relates to the decorator syntaxThe issue relates to the decorator syntaxFix AvailableA PR has been opened for this issueA PR has been opened for this issueWaiting for TC39Unactionable until TC39 reaches some conclusionUnactionable until TC39 reaches some conclusion
Milestone
Description
We're providing feedback around the access
member of decorator context objects. The formal issue is over at tc39/proposal-decorators#494, but we have a few possible outcomes.
If access
is amended to have some new API, we should change the API to agree with whatever specified. When that happens, we should consider whether it should be declared with function shorthand syntax to avoid method parameter bivariance issues.
If we can't agree on something, we might need to place a variance annotation on the type parameters just to afford ourselves with some future design space.
Metadata
Metadata
Assignees
Labels
Domain: DecoratorsThe issue relates to the decorator syntaxThe issue relates to the decorator syntaxFix AvailableA PR has been opened for this issueA PR has been opened for this issueWaiting for TC39Unactionable until TC39 reaches some conclusionUnactionable until TC39 reaches some conclusion