Skip to content

Commit fe7a212

Browse files
authored
fix: add missing types in QueryMatch
1 parent c1a64f4 commit fe7a212

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tree-sitter.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ declare module "tree-sitter" {
161161
export interface QueryMatch {
162162
pattern: number;
163163
captures: QueryCapture[];
164+
setProperties?: { [prop: string]: string | null };
165+
assertedProperties?: { [prop: string]: string | null };
166+
refutedProperties?: { [prop: string]: string | null };
164167
}
165168

166169
export type QueryOptions = {

0 commit comments

Comments
 (0)