aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/typescript/rainbows.scm
blob: 919061aab4f5cc05a084696217e8908e32d05ab2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
; inherits: ecma

[
  (import_require_clause)
  (enum_body)
  (lookup_type)
  (parenthesized_type)
  (object_type)
  (type_parameters)
  (index_signature)
  (array_type)
  (tuple_type)
] @rainbow.scope

(type_arguments ["<" ">"] @rainbow.bracket) @rainbow.scope

[
  "{|" "|}"
] @rainbow.bracket