@yaagoub/decorators
Version:
Angular decorators
13 lines (12 loc) • 490 B
TypeScript
import { OperatorFunction } from 'rxjs';
import { Interceptor } from '../types';
import { ResponseType } from '../types/response-type';
export type HttpMethodOptions = {
path?: string;
method?: string;
headers?: Record<string, string>;
interceptors?: Array<Interceptor>;
responseType?: ResponseType;
operators?: OperatorFunction<any, any>[];
};
export declare function getFromInstanceMethodMetadata(instance: any, methodName: string): HttpMethodOptions | undefined;