Skip to content

Commit 5139d81

Browse files
authored
Merge pull request tree-sitter#622 from skovhus/patch-1
TypeScript: Correct SyntaxNode isNamed type
2 parents 2d339de + 02196f8 commit 5139d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/binding_web/tree-sitter-web.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ declare module 'web-tree-sitter' {
5151
id: number;
5252
tree: Tree;
5353
type: string;
54-
isNamed: boolean;
5554
text: string;
5655
startPosition: Point;
5756
endPosition: Point;
@@ -75,6 +74,7 @@ declare module 'web-tree-sitter' {
7574
hasError(): boolean;
7675
equals(other: SyntaxNode): boolean;
7776
isMissing(): boolean;
77+
isNamed(): boolean;
7878
toString(): string;
7979
child(index: number): SyntaxNode | null;
8080
namedChild(index: number): SyntaxNode | null;

0 commit comments

Comments
 (0)