Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/node_modules.5/class-transformer/esm5/decorators/
Upload File :
Current File : /home/infinitibizsol/.trash/node_modules.5/class-transformer/esm5/decorators/transform.decorator.js

import { defaultMetadataStorage } from '../storage';
/**
 * Defines a custom logic for value transformation.
 *
 * Can be applied to properties only.
 */
export function Transform(transformFn, options) {
    if (options === void 0) { options = {}; }
    return function (target, propertyName) {
        defaultMetadataStorage.addTransformMetadata({
            target: target.constructor,
            propertyName: propertyName,
            transformFn: transformFn,
            options: options,
        });
    };
}
//# sourceMappingURL=transform.decorator.js.map

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists