@ogs-gmbh/ngx-translate
Version:
A lightweight, REST-based Angular i18n library designed for seamless internationalization with minimal setup. It supports dynamic language switching & flexible translation management via RESTful APIs.
13 lines (12 loc) • 710 B
TypeScript
import { HttpHeadersOption, HttpOptions } from "@ogs-gmbh/ngx-http";
import { HttpClient } from "@angular/common/http";
import { Observable } from "rxjs";
import * as i0 from "@angular/core";
export declare class TranslationHttpSerivce {
private readonly _translationHttpConfig;
private readonly _translationConfig;
private readonly _translationHttpOptions;
getWithRef$<T>(httpClientRef: Readonly<HttpClient>, scopeName: ReadonlyArray<string | null> | string | null, httpOptions?: HttpOptions<never, HttpHeadersOption, never>): Observable<T>;
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationHttpSerivce, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<TranslationHttpSerivce>;
}