Add missing currentFieldName() to TreeCursor

This commit is contained in:
Stafford Brunk 2019-07-17 22:32:41 -06:00
parent d686d24563
commit ce10b53fe3
No known key found for this signature in database
GPG key ID: FA8D5C2ED2587ADC

View file

@ -96,6 +96,7 @@ declare module 'web-tree-sitter' {
reset(node: SyntaxNode): void;
delete(): void;
currentNode(): SyntaxNode;
currentFieldName(): string;
gotoParent(): boolean;
gotoFirstChild(): boolean;
gotoFirstChildForIndex(index: number): boolean;