@anglr/rest
Version:
Angular module representing rest services
8 lines • 766 B
TypeScript
import { ParameterTransformFunc, RestParameters } from '../interfaces';
import type { RESTClientBase } from '../misc/classes/restClientBase';
/**
* Parameter descriptor that is used for transforming parameter before QueryObject serialization
* @param methodNameOrFuncs - Name of method that will be called to modify parameter, method takes any type of object and returns transformed object, or method directly or array of methods that will be called sequentialy
*/
export declare function ParameterTransform(methodNameOrFuncs?: string | ParameterTransformFunc<any, any> | ParameterTransformFunc<any, any>[]): (target: RESTClientBase & RestParameters, propertyKey: string, parameterIndex: number) => void;
//# sourceMappingURL=parameterTransform.decorator.d.ts.map