diff --git a/lisp/progmodes/typescript-ts-mode.el b/lisp/progmodes/typescript-ts-mode.el index 871dbc2e3dc..b4b078950c3 100644 --- a/lisp/progmodes/typescript-ts-mode.el +++ b/lisp/progmodes/typescript-ts-mode.el @@ -38,6 +38,9 @@ (declare-function treesit-parser-create "treesit.c") (declare-function treesit-query-capture "treesit.c") (declare-function treesit-query-compile "treesit.c") +(declare-function treesit-node-child-by-field-name "treesit.c") +(declare-function treesit-node-match-p "treesit.c") +(declare-function treesit-node-type "treesit.c") (defcustom typescript-ts-mode-indent-offset 2 "Number of spaces for each indentation step in `typescript-ts-mode'."