"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const init_or_update_property_function_1 = require("../property/init-or-update-property.function");
function CustomMapper(customMapper) {
    return (target, propertyKey) => {
        if (typeof propertyKey === 'string') {
            init_or_update_property_function_1.initOrUpdateProperty({ mapper: () => customMapper }, target, propertyKey);
        }
    };
}
exports.CustomMapper = CustomMapper;
//# sourceMappingURL=custom-mapper.decorator.js.map