deepdash-es
Version:
➔ 𝐃eep extension for 𝐋odash-es: ✓ eachDeep ✓ filterDeep ✓ pickDeep ✓ omitDeep ✓ keysDeep ✓ index ✓ condenseDeep ⋮ Parent nodes tracking ⋮ Circular references check ⋮ Leaves only mode ⋮ Path as a valid js string or an array ⋮
19 lines (17 loc) • 500 B
TypeScript
import { Path } from "./Path";
import { IIterateeContext } from "./IIterateeContext";
export interface IDeepEntry {
value: any;
key?: string | number;
path?: Path;
/**
* NOTE: At now, parent is not type of IDeepEntry. It is just parent.value
* JS source code should be fixed
*/
parent?: IDeepEntry;
context?: IIterateeContext;
/**
* contains matched childrenPath path of this parent node, chosen from childrenPath array, if it was specified.
*/
childrenPath?: Path;
}