plexgram-typescript

0.20.3 • Public • Published

tree-sitter-typescript

Build Status Build status

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

Readme

Keywords

Package Sidebar

Install

npm i plexgram-typescript

Weekly Downloads

0

Version

0.20.3

License

MIT

Unpacked Size

11 MB

Total Files

20

Last publish

Collaborators

  • xuanguyen