UNPKG

353 BTypeScriptView Raw
1import { Node } from '../types/nodes';
2export default class Path<N extends Node> {
3 node: N;
4 parent: Path<Node> | null;
5 parentKey: string | null;
6 constructor(node: N, parent?: Path<Node> | null, parentKey?: string | null);
7 get parentNode(): Node | null;
8 parents(): Iterable<Path<Node> | null>;
9}
10//# sourceMappingURL=path.d.ts.map
\No newline at end of file