import { EnumType } from '../../../mapper/type/enum.type';
import { initOrUpdateProperty } from '../property/init-or-update-property.function';
// FIXME remove unused
export function Enum(enumType) {
    return (target, propertyKey) => {
        if (typeof propertyKey === 'string') {
            initOrUpdateProperty({ typeInfo: { type: EnumType, isCustom: true } }, target, propertyKey);
        }
    };
}
//# sourceMappingURL=enum.decorator.js.map