UNPKG

mapper-tsk

Version:
7 lines (6 loc) 335 B
import { IBuilderFunction } from "./IMappingProfile"; export interface IMap { mapObject<S, D>(source: S, destination: D, profile?: Record<string, string | IBuilderFunction>): D; mapArray<S, D>(source: S[], activator: () => D, profile?: Record<string, string | IBuilderFunction>): D[]; activator<D>(type: new () => D): D; }