ngx-translate-po-http-loader/dist/index.d.ts
Vasiliy Tolstov fa3f5f14ab initial import
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-04-25 18:42:42 +03:00

12 lines
467 B
TypeScript

import { HttpClient } from '@angular/common/http';
import { TranslateLoader } from '@ngx-translate/core';
import { Observable } from 'rxjs';
export declare class TranslatePoHttpLoader implements TranslateLoader {
protected _http: HttpClient;
protected _prefix: string;
protected _suffix: string;
constructor(_http: HttpClient, _prefix?: string, _suffix?: string);
getTranslation(lang: string): Observable<any>;
parse(contents: string): any;
}