Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

pulsar-edit/tree-sitter-typescript

 
 

Repository files navigation

This Repo is archived under Pulsar-Edit since it is not used.

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

About

🔒 TypeScript grammar for tree-sitter (with prebuilt binaries)

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Languages

  • JavaScript 66.0%
  • C 14.9%
  • Rust 7.1%
  • Shell 4.6%
  • C++ 3.6%
  • Tree-sitter Query 2.7%
  • Other 1.1%