UNPKG

ngx-ui-hero

Version:

Simple, fast and reliable utilities for Angular.

9 lines (8 loc) 485 B
import { Observable } from 'rxjs'; import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import * as i0 from "@angular/core"; export declare class ErrorHandlerInterceptor implements HttpInterceptor { intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; static ɵfac: i0.ɵɵFactoryDeclaration<ErrorHandlerInterceptor, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ErrorHandlerInterceptor>; }