Highlight ? and : in ternary expressions as operator in JavaScript, TypeScript, and TSX (#20573)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ...
This commit is contained in:
@@ -150,6 +150,13 @@
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
(ternary_expression
|
||||
[
|
||||
"?"
|
||||
":"
|
||||
] @operator
|
||||
)
|
||||
|
||||
[
|
||||
"as"
|
||||
"async"
|
||||
|
||||
Reference in New Issue
Block a user