UNPKG

mapper-tsk

Version:
13 lines (12 loc) 546 B
import { IBuilderFunction } from "./IMappingProfile"; import { IMap } from "./IMap"; declare class Mapper implements 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; private getChainingDeepSourceObjectValue; private createDeepChainingDestinationObject; } declare const mapper: Mapper; export { IMap }; export default mapper;