UNPKG

455 BTypeScriptView Raw
1import { HttpClient } from "@angular/common/http";
2import { TranslateLoader } from "@ngx-translate/core";
3import { Observable } from 'rxjs';
4export declare class TranslateHttpLoader implements TranslateLoader {
5 private http;
6 prefix: string;
7 suffix: string;
8 constructor(http: HttpClient, prefix?: string, suffix?: string);
9 /**
10 * Gets the translations from the server
11 */
12 getTranslation(lang: string): Observable<Object>;
13}