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