From 9dd1065ebeaa0c08df89867b9fbb5b43ece30335 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 19 Aug 2022 06:49:31 +0000 Subject: highlights(javascript): "?." -> optional_chain --- queries/typescript/highlights.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'queries/typescript') diff --git a/queries/typescript/highlights.scm b/queries/typescript/highlights.scm index 26725f82..fac349c6 100644 --- a/queries/typescript/highlights.scm +++ b/queries/typescript/highlights.scm @@ -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) -- cgit v1.2.3