UNPKG

@c10t/nice-component-library

Version:

nice-component-library

14 lines (13 loc) 462 B
import { HttpClient } from '@angular/common/http'; import { TranslateLoader } from '@ngx-translate/core'; import { Observable } from 'rxjs'; export interface ITranslationResource { prefix: string; suffix: string; } export declare class MultiTranslateHttpLoader implements TranslateLoader { private http; private resources; constructor(http: HttpClient, resources: ITranslationResource[]); getTranslation(lang: string): Observable<any>; }