tree-sitter-typescript icon indicating copy to clipboard operation
tree-sitter-typescript copied to clipboard

TypeScript grammar for tree-sitter

Results 35 tree-sitter-typescript issues
Sort by recently updated
recently updated
newest added

Just updates the tree-sitter-javascript git reference so that typescript users can take advantage of the ts-JS additions and features Checklist: - [ ] All tests pass in CI. - [x]...

Hello, I'm trying to test some things with tree-sitter-typescript, since https://github.com/tree-sitter/tree-sitter-javascript/pull/208 got merged recently. However, I don't know how to do anything in this repo :sweat_smile: looking at package.json, I...

bug

The following piece of code: ```typescript require('y') ``` ... is valid but it is parsed into: ``` (call_expression function: (identifier) arguments: (arguments (string (string_fragment)))) ``` Based on reading the definition...

bug

I see there's been lots of action in the past 9 months, but no new releases. Would it be possible to cut a new release? Thanks!

Add build scripts for wasm binding. Checklist: - [ ] All tests pass in CI. - [ ] There are sufficient tests for the new fix/feature. - [ ] Grammar...

Add stack graph rules and corresponding tests. The tests are executed against the rules using the [tree-sitter-stack-graphs](https://crates.io/crates/tree-sitter-stack-graphs) CLI. Stack graph tests are added to CI runs as well, so that...

The following piece of code is valid but it is parsed incorrectly: ```typescript class Vec { constructor() // comment { } } ``` Here's a link to the TypeScript Playground...

bug

Maintaining tree-sitter-typescript as an extension of tree-sitter-javascript tends to involve extra work compared to a grammar written from scratch (#189, #190 + personal experience with semgrep). Since typescript (tsx mode)...

question

I think current capture / highlighting groups are somewhat vague & need to be divided more precisely. E.g. currently : 1. variable declaration & variable used in code share the...

I know people are able to write javascript inside a typescript file. Should people load JavaScript's `hightlights.scm` file for a TypeScript file? Or should we just load scheme file separately...

question