Skip to content

Commit 3a606cd

Browse files
author
Luke Chapman
committed
add back in type definition for .evaluate
1 parent 0617cef commit 3a606cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xpath.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ export interface XPathSelect {
1111
(expression: string, node: Node, single: true): SelectSingleReturnType;
1212
}
1313

14+
export function evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult;
15+
1416
/**
1517
* Evaluate an XPath expression against a DOM node.
1618
*/

0 commit comments

Comments
 (0)