tree-sitter / tree-sitter-typescript

TypeScript grammar for tree-sitter
MIT License
335 stars 104 forks source link

Various fixes for JSX support #247

Closed guillaumebrunerie closed 12 months ago

guillaumebrunerie commented 1 year ago

This pull request brings the changes from tree-sitter/tree-sitter-javascript#227 to the Typescript grammar, and fixes what needs to be fixed in the grammar and tests here.

Checklist:

guillaumebrunerie commented 12 months ago

Looks like I had forgotten one change related to fragments, I've added it now and a test to make sure that fragments behave properly.