@yaagoub/decorators
Version:
Angular decorators
10 lines (9 loc) • 474 B
TypeScript
import { Observable } from 'rxjs';
import { HttpRequest } from '../types/http-request';
import { Interceptor } from '../types';
import { InterceptorStore } from './interceptor.store';
export declare class InterceptorManager {
static applyBefore(request$: Observable<HttpRequest>, interceptors: Interceptor[]): Observable<HttpRequest>;
static applyAfter(response$: Observable<any>, interceptors: Interceptor[]): Observable<any>;
static run(): InterceptorStore;
}