highlights(javascript): "?." -> optional_chain

This commit is contained in:
GitHub 2022-08-19 06:49:31 +00:00 committed by Christian Clason
parent 2bb9bb7386
commit 9dd1065ebe
4 changed files with 7 additions and 3 deletions

View file

@ -26,7 +26,7 @@
((import_specifier
name: (identifier) @type)))))
; punctuation
;; punctuation
(type_arguments
"<" @punctuation.bracket
@ -44,6 +44,8 @@
(pair
":" @punctuation.delimiter)
"?." @punctuation.delimiter
(property_signature "?" @punctuation.special)
(optional_parameter "?" @punctuation.special)