aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/typescript/highlights.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/typescript/highlights.scm b/queries/typescript/highlights.scm
index d23a918f9..7aaa3fca2 100644
--- a/queries/typescript/highlights.scm
+++ b/queries/typescript/highlights.scm
@@ -13,6 +13,7 @@
"satisfies"
"module"
"infer"
+ "is"
] @keyword
(as_expression "as" @keyword)
@@ -57,6 +58,9 @@
(type_annotation
":" @punctuation.delimiter)
+(type_predicate_annotation
+ ":" @punctuation.delimiter)
+
(index_signature
":" @punctuation.delimiter)