This repository has been archived by the owner on Sep 8, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for optional chaining operator to TypeScript lexer (rouge…
…-ruby#1475) TypeScript has added support for the optional chaining operator `?.` as of version 3.7. This commit adds support by prepending a rule to the `:root` state of the TypeScript lexer. Eventually, when JavaScript adopts the operator, the rule should be moved into the `:root` state there and removed from this lexer.
- Loading branch information