UNPKG

map-transform

Version:

Map and transform objects with mapping definitions

3 lines (2 loc) 259 B
import type { Operation, DataMapperWithOptions, AsyncDataMapperWithOptions } from '../types.js'; export default function transform(fn: DataMapperWithOptions | AsyncDataMapperWithOptions, revFn?: DataMapperWithOptions | AsyncDataMapperWithOptions): Operation;