@c10t/nice-component-library
Version:
nice-component-library
14 lines (13 loc) • 664 B
TypeScript
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
import { Observable } from 'rxjs';
import { LoaderService } from './loader.service';
import * as i0 from "@angular/core";
export declare class LoaderInterceptor implements HttpInterceptor {
loaderService: LoaderService;
private requests;
constructor(loaderService: LoaderService);
removeRequest(req: HttpRequest<any>): void;
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderInterceptor, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<LoaderInterceptor>;
}