; JavaScript direct callees — same shape as TypeScript.
(call_expression
  function: (identifier) @callee)

(call_expression
  function: (member_expression) @callee)

(new_expression
  constructor: (identifier) @callee)

(new_expression
  constructor: (member_expression) @callee)
