diff options
Diffstat (limited to 'node_modules/@csstools/css-parser-algorithms/dist/util/node-ancestry.d.ts')
| -rw-r--r-- | node_modules/@csstools/css-parser-algorithms/dist/util/node-ancestry.d.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/node_modules/@csstools/css-parser-algorithms/dist/util/node-ancestry.d.ts b/node_modules/@csstools/css-parser-algorithms/dist/util/node-ancestry.d.ts new file mode 100644 index 00000000..219ea619 --- /dev/null +++ b/node_modules/@csstools/css-parser-algorithms/dist/util/node-ancestry.d.ts @@ -0,0 +1,7 @@ +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>; |
