npm is still a mystery to me. I never know what to invoke to update dependencies.
In {tsx,typescript}/src/grammar.json, I looked for private_property_identifier which is a recent addition to tree-sitter-javascript. It's now present, so I assume this time I did the right thing.
Originally, I had just modified package.json by hand, followed by npm install. I suppose this is deeply wrong since the generated grammar.json still inherited from the older tree-sitter-javascript grammar.
npm
is still a mystery to me. I never know what to invoke to update dependencies.In
{tsx,typescript}/src/grammar.json
, I looked forprivate_property_identifier
which is a recent addition to tree-sitter-javascript. It's now present, so I assume this time I did the right thing.Originally, I had just modified
package.json
by hand, followed bynpm install
. I suppose this is deeply wrong since the generatedgrammar.json
still inherited from the older tree-sitter-javascript grammar.This time, I did this:
followed by
I think code generation should be automated to avoid this kind of problems.
Checklist: