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:
[X] All tests pass in CI.
[X] There are sufficient tests for the new fix/feature.
[X] Grammar rules have not been renamed unless absolutely necessary.
[X] The conflicts section hasn't grown too much.
[X] The parser size hasn't grown too much (check the value of STATE_COUNT in src/parser.c).
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: