Function: combobulate-js-ts--get-declaration-name

combobulate-js-ts--get-declaration-name is a natively compiled function defined in combobulate-js-ts.el.

Signature

(combobulate-js-ts--get-declaration-name NODE)

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-js-ts.el
(defun combobulate-js-ts--get-declaration-name (node)
  (concat "const "
          (car (combobulate-query-node-text
                '((lexical_declaration (variable_declarator name: (_) @name)))
                node t))))