Tree Sitter Typescript Save

TypeScript grammar for tree-sitter

Project README

tree-sitter-typescript

CI discord matrix crates npm

TypeScript and TSX grammars for tree-sitter.

Because TSX and TypeScript are actually two different dialects, this module defines two grammars. Require them as follows:

require("tree-sitter-typescript").typescript; // TypeScript grammar
require("tree-sitter-typescript").tsx; // TSX grammar

For Javascript files with flow type annotations you can use the the tsx parser.

References

Open Source Agenda is not affiliated with "Tree Sitter Typescript" Project. README Source: tree-sitter/tree-sitter-typescript
Stars
311
Open Issues
18
Last Commit
1 month ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating