UNPKG

map-transform

Version:

Map and transform objects with mapping definitions

13 lines (12 loc) 431 B
import type { TransformerProps, Transformer, AsyncTransformer, Path, TransformDefinition } from '../types.js'; export interface Props extends TransformerProps { path?: Path | TransformDefinition; operator?: string; match?: unknown; matchPath?: Path; value?: unknown; valuePath?: Path; not?: boolean; } declare const transformer: Transformer<Props> | AsyncTransformer<Props>; export default transformer;