epiphany/node_modules/@csstools/css-parser-algorithms/dist/util/node-ancestry.d.ts
2023-12-09 22:48:07 -08:00

7 lines
271 B
TypeScript

export interface walkable {
walk(cb: (entry: {
node: Array<unknown> | unknown;
parent: unknown;
}, index: number | string) => boolean | void): false | undefined;
}
export declare function gatherNodeAncestry(node: walkable): Map<unknown, unknown>;