import { initOrUpdateProperty } from '../property/init-or-update-property.function';
export function CustomMapper(customMapper) {
    return function (target, propertyKey) {
        if (typeof propertyKey === 'string') {
            initOrUpdateProperty({ mapper: function () { return customMapper; } }, target, propertyKey);
        }
    };
}
//# sourceMappingURL=custom-mapper.decorator.js.map