Skip to content

Commit

Permalink
(fix): isArrayOfNodes input type not assignable to guarded type
Browse files Browse the repository at this point in the history
  • Loading branch information
drewhoener committed Jul 26, 2023
1 parent 0617cef commit 50357f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpath.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function useNamespaces(namespaceMap: Record<string, string>): 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;
Expand Down

0 comments on commit 50357f1

Please sign in to comment.