@anglr/rest
Version:
Angular module representing rest services
8 lines • 493 B
TypeScript
import { RESTClient, RestMethodMiddlewares } from '@anglr/rest';
/**
* Enables AVRO encoding for response object received in body
* @param namespace - Name of namespace in which is type defined
* @param typeName - Name of type that should be used
*/
export declare function AvroResponse(namespace: string, typeName: string): (_target: RESTClient, _propertyKey: string, descriptor: RestMethodMiddlewares) => TypedPropertyDescriptor<any>;
//# sourceMappingURL=avroResponse.decorator.d.ts.map