custom-automapper
Version:
A powerful, type-safe object mapping library for TypeScript and NestJS
11 lines • 518 B
TypeScript
import type { ClassType, MappingConfig } from './types';
export interface MappingOptions {
defaultValues?: boolean;
deepClone?: boolean;
}
export declare class MappingConfigurator {
private configs;
register<S extends object, D extends object>(source: ClassType<S>, destination: ClassType<D>, config: MappingConfig<S, D>): void;
get<S extends object, D extends object>(source: ClassType<S>, destination: ClassType<D>): MappingConfig<S, D> | undefined;
}
//# sourceMappingURL=mapping-config.d.ts.map