summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queries/typescript/highlights.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/queries/typescript/highlights.scm b/queries/typescript/highlights.scm
index 0f318b66..26725f82 100644
--- a/queries/typescript/highlights.scm
+++ b/queries/typescript/highlights.scm
@@ -20,6 +20,12 @@
(type_identifier) @type
(predefined_type) @type.builtin
+(import_statement "type"
+ (import_clause
+ (named_imports
+ ((import_specifier
+ name: (identifier) @type)))))
+
; punctuation
(type_arguments