UNPKG

angular-l10n

Version:

An Angular library to translate messages, dates and numbers

22 lines (21 loc) 774 B
import { OnDestroy, ChangeDetectorRef } from '@angular/core'; /** * Provides 'lang' to translate pipe. */ export declare class Translation implements OnDestroy { protected changeDetectorRef?: ChangeDetectorRef | undefined; lang: string; constructor(changeDetectorRef?: ChangeDetectorRef | undefined); ngOnDestroy(): void; } /** * Provides 'lang' to translate pipe, * 'defaultLocale', 'currency', 'timezone' to l10nDate, l10nDecimal, l10nPercent & l10nCurrency pipes. */ export declare class Localization extends Translation { protected changeDetectorRef?: ChangeDetectorRef | undefined; defaultLocale: string; currency: string; timezone: string; constructor(changeDetectorRef?: ChangeDetectorRef | undefined); }