UNPKG

@anglr/rest

Version:

Angular module representing rest services

9 lines 620 B
import { RestMethodMiddlewares, RestResponseType } from '../interfaces'; import type { RESTClientBase } from '../misc/classes/restClientBase'; import { ResponseType } from '../misc/enums'; /** * Defines the response type(s) that the methods can produce or tzpe of body id full request or events are requested * @param producesDef - response type to be produced */ export declare function Produces(producesDef: ResponseType): <TDecorated>(_target: RESTClientBase, _propertyKey: string, descriptor: (RestResponseType & RestMethodMiddlewares) | TDecorated) => TDecorated; //# sourceMappingURL=produces.decorator.d.ts.map