UNPKG

@ngx-loading-bar/http-client

Version:

Automatic page loading / progress bar for Angular

9 lines (8 loc) 410 B
import { LoadingBarService } from '@ngx-loading-bar/core'; import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http'; import { Observable } from 'rxjs'; export declare class LoadingBarInterceptor implements HttpInterceptor { private loader; constructor(loader: LoadingBarService); intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; }