From b0e732d0c5c97865975db237a12108b1be21d535 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Tue, 19 Sep 2023 16:34:59 -0400 Subject: [PATCH] chore: fix return type --- tree_sitter/binding.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tree_sitter/binding.pyi b/tree_sitter/binding.pyi index 0af36e4..91b79d0 100644 --- a/tree_sitter/binding.pyi +++ b/tree_sitter/binding.pyi @@ -257,7 +257,7 @@ class TreeCursor: and return True. Otherwise, return False. """ ... - def goto_descendant(self, index: int) -> bool: + def goto_descendant(self, index: int) -> None: """Go to the descendant at the given index. If the current node has a descendant at the given index, move to the