-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Support to decorators in TypeScript #2819
Copy link
Copy link
Closed
Description
Motivation
I'd like to highlight my code relating Angular. Angular uses @Decorators often like below:
@Component({
selector: 'my-app',
template: `<div>Hello World!</div>`
})
export class AppComponent {}A decorator is technically a function, but I want to separate its color from normal functions.
Currently, decorators are tokenized as function in language-typescript
Description
Adding .meta-like class to decorator name token.
Reactions are currently unavailable
