angular-l10n
Version:
An Angular library to translate messages, dates and numbers
11 lines (10 loc) • 521 B
TypeScript
import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from "@angular/common/http";
import { Observable } from "rxjs";
import { LocaleService } from "../services/locale.service";
import { L10nConfigRef } from "./l10n-config";
export declare class LocaleInterceptor implements HttpInterceptor {
private configuration;
private locale;
constructor(configuration: L10nConfigRef, locale: LocaleService);
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
}