lodash-walk-object
Version:
Walk all properties deep in object with lodash help
28 lines • 1.13 kB
TypeScript
// @ts-nocheck
import { Models } from './models';
export * from './models';
export type Iterator = (value: any, lodashPath: string, changeValueTo: (newValue: any) => void, options?: Models.AdditionalIteratorOptions) => void;
export declare class Helpers {
static get Walk(): {
Object(json: Object, iterator: Iterator, optionsOrWalkGettersValue?: Models.StartIteratorOptions): {
circs: Models.Circ[];
};
ObjectBy(property: string, inContext: Object, iterator: Iterator, options?: Models.StartIteratorOptions): {
circs: Models.Circ[];
};
};
private static _changeValue;
private static _prepareParams;
private static get _Helpers();
private static _shoudlReturn;
private static prepareOptions;
private static _walk;
}
export declare const walk: {
Object: (json: Object, iterator: Iterator, optionsOrWalkGettersValue?: Models.StartIteratorOptions) => {
circs: Models.Circ[];
};
ObjectBy: (property: string, inContext: Object, iterator: Iterator, options?: Models.StartIteratorOptions) => {
circs: Models.Circ[];
};
};