UNPKG

@cauca-911/core

Version:

Run `npm install @cauca-911/core` to add this library to your project

13 lines (12 loc) 596 B
import { HttpBackend } from '@angular/common/http'; import { Observable } from 'rxjs'; import { CoreModuleOptions } from '../models/core-module-options'; import { ResourceOptions } from './resource-options'; import { TranslateLoader } from '@ngx-translate/core'; export declare class CustomMultiTranslateHttpLoader implements TranslateLoader { private http; private resources; constructor(httpBackend: HttpBackend, options: CoreModuleOptions); getTranslation(lang: string): Observable<any>; getOneResourceTranslation(lang: string, config: ResourceOptions): Observable<any>; }