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
TS supports decorators, JS does not. In TS, we use our "magic comments" implemented for JS.
Multiple decorators (including @namespace) on a single piece of functionality look like this:
@a
@b/** @namespace A/B/C */classSomeClass{
...
}
Is @namespace decorator commented? Does it work? Looks very ambiguous.
Describe the solution you'd like
In TS files, provide an opportunity to use actual decorator, so that the code above looks like this or similarly:
@a
@b
@namespace('A/B/C')classSomeClass{
...
}
The text was updated successfully, but these errors were encountered:
Is your proposal related to a problem?
TS supports decorators, JS does not. In TS, we use our "magic comments" implemented for JS.
Multiple decorators (including
@namespace
) on a single piece of functionality look like this:Is @namespace decorator commented? Does it work? Looks very ambiguous.
Describe the solution you'd like
In TS files, provide an opportunity to use actual decorator, so that the code above looks like this or similarly:
The text was updated successfully, but these errors were encountered: