UNPKG

bfend

Version:

Admin template base on ng-zorro-antd

13 lines (12 loc) 587 B
import { Observable } from 'rxjs'; import { HttpEvent, HttpHandler, HttpInterceptor as HttpInterceptorInterface, HttpRequest } from '@angular/common/http'; import { NzMessageService } from 'ng-zorro-antd'; import { BfHttpService } from './http.service'; export declare class BfHttpManagedInterceptor implements HttpInterceptorInterface { private http; private nzMessage; constructor(http: BfHttpService, nzMessage: NzMessageService); intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; private isAutoLoading; private isHandleError; }