ngx-jenga-api
Version:
Angular wrapper for Equity's Jenga API. Still in progress
13 lines (12 loc) • 646 B
TypeScript
import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http';
import { Observable } from 'rxjs';
import { LoaderService } from '../services/loader.service';
import * as i0 from "@angular/core";
export declare class LoaderInterceptor implements HttpInterceptor {
private loadingService;
totalRequests: number;
constructor(loadingService: LoaderService);
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderInterceptor, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<LoaderInterceptor>;
}