map-transform
Version:
Map and transform objects with mapping definitions
6 lines (5 loc) • 389 B
TypeScript
import type { Path, Operation, DataMapperWithState, Options } from '../types.js';
export declare function pathGetter(path?: string | null, _options?: Options): DataMapperWithState;
export declare function pathSetter(path?: string | null, options?: Options): DataMapperWithState;
export declare const get: (path: Path) => Operation[];
export declare const set: (path: Path) => Operation[];