UNPKG

@netgrif/components-core

Version:

Netgrif Application engine frontend core Angular library

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