; TypeScript scope context query

(function_declaration) @context
(function_declaration name: (identifier) @name)

(class_declaration) @context
(class_declaration name: (type_identifier) @name)

(method_definition) @context
(method_definition name: (property_identifier) @name)

(arrow_function) @context

(interface_declaration) @context
(interface_declaration name: (type_identifier) @name)

(enum_declaration) @context
(enum_declaration name: (identifier) @name)
