UNPKG

xpath-ts2

Version:

DOM 3 and 4 XPath 1.0 implementation for browser and Node.js environment with support for typescript 5.

8 lines (7 loc) 237 B
import { NamespaceResolver } from './xpath-types'; export declare class NodeXPathNSResolver { node?: Node; namespaceResolver: NamespaceResolver; constructor(n?: Node); lookupNamespaceURI(prefix: string): string | null; }