@jsverse/transloco-locale
Version:
The localization (l10n) library plugin for Transloco
14 lines (13 loc) • 626 B
TypeScript
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
import { Locale } from '../../lib/transloco-locale.types';
import { TranslocoLocaleService } from '../transloco-locale.service';
import * as i0 from "@angular/core";
export declare abstract class BaseLocalePipe implements OnDestroy {
protected localeService: TranslocoLocaleService;
protected cdr: ChangeDetectorRef;
private localeChangeSub;
protected getLocale(locale?: Locale): Locale;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<BaseLocalePipe, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<BaseLocalePipe>;
}