custom-automapper
Version:
A powerful, type-safe object mapping library for TypeScript and NestJS
13 lines • 382 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createMappingContext = createMappingContext;
function createMappingContext(source, destination, parent) {
return {
source,
destination,
parent,
depth: parent ? (parent.depth ?? 0) + 1 : 0,
options: {}
};
}
//# sourceMappingURL=mapping-context.js.map