UNPKG

ngh-spinner

Version:

Library for Loading Spinner - Angular 4/5/6

9 lines (8 loc) 440 B
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { NghSpinnerService } from './ngh-spinner.service'; import { Observable } from 'rxjs'; export declare class NghInterceptorService implements HttpInterceptor { private nghSpinnerService; constructor(nghSpinnerService: NghSpinnerService); intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; }