-
-
Notifications
You must be signed in to change notification settings - Fork 152
Closed
Labels
Description
The feature is already being widely used in typescript, in about 10% of the files according to my rough stats. See the related ticket in the tree-sitter-typescript repo: tree-sitter/tree-sitter-typescript#80
I'm thinking of adding the feature to the javascript grammar rather than only adding it to the typescript grammar. Let me know if there's something wrong with the approach. I'll use this reference document: https://tc39.es/ecma262/#sec-optional-chains
aminya