diff --git a/xpath.d.ts b/xpath.d.ts index 9d1a734..3f59c6b 100644 --- a/xpath.d.ts +++ b/xpath.d.ts @@ -39,7 +39,7 @@ export function useNamespaces(namespaceMap: Record): XPathSelect // Type guards to narrow down the type of the selected type of a returned Node object export function isNodeLike(value: SelectedValue): value is Node; -export function isArrayOfNodes(value: SelectedValue): value is Node[]; +export function isArrayOfNodes(value: SelectReturnType): value is Node[]; export function isElement(value: SelectedValue): value is Element; export function isAttribute(value: SelectedValue): value is Attr; export function isTextNode(value: SelectedValue): value is Text;