@singleton-i18n/angular-client
Version:
Singleton client code for Angular 10.
17 lines (16 loc) • 618 B
TypeScript
import { VIPService } from './vip.service';
import { LocaleService } from './locale.service';
import { EventEmitter } from '@angular/core';
import { Observable } from 'rxjs';
/**
* Extract shared methods here for l10n service and i18n service.
*/
export declare abstract class BaseService {
protected vipService: VIPService;
protected localeService: LocaleService;
constructor(vipService: VIPService, localeService: LocaleService);
get stream(): Observable<string | any>;
get current(): Observable<string | any>;
get currentLocale(): string;
get onLocaleChange(): EventEmitter<string>;
}