Closed
Description
Did you check existing issues?
- I have read all the tree-sitter docs if it relates to using the parser
- I have searched the existing issues of tree-sitter-typescript
Tree-Sitter CLI Version, if relevant (output of tree-sitter --version
)
0.20.8
Describe the bug
When you specify generic type in decorator, it's break the highlight of code below
Steps To Reproduce/Bad Parse Tree
- Create a calss
- Declare a method in this class
- Decorate this method
- Pass generic type in decorator
Expected Behavior/Parse Tree
Syntax highlight will work well
Repro
function system<A>(...args: any): any {}
export default class bSrchCard {
@system()
override readonly analyticsParams = {};
@system()
override readonly analyticsOptions = {};
}