UNPKG

@engie-group/ngx-gem-spaas

Version:

This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.

12 lines (11 loc) 631 B
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { Observable } from "rxjs"; import { SnackbarService } from "../_services/snackbar.service"; import * as i0 from "@angular/core"; export declare class ConnectionErrorInterceptor implements HttpInterceptor { private snackbarService; constructor(snackbarService: SnackbarService); intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; static ɵfac: i0.ɵɵFactoryDeclaration<ConnectionErrorInterceptor, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ConnectionErrorInterceptor>; }