UNPKG

@pbtanna17/ngx-translate-parser-plural-select

Version:

ngx-translate parser that supports pluralization and select (a la Angular's i18n module)

18 lines (17 loc) 554 B
import 'core-js/es7/object'; export interface ICUPipeFunction { (value: any, options: string[], parameters: string[]): string; } export declare class TranslateICUCustomParser { private additionalPipes?; private pipeEntries; constructor(additionalPipes?: { [pipeName: string]: ICUPipeFunction; }); private getPipes; interpolate(expr: string | Function, params?: any): string; getValue(target: any, key: string): any; } export declare class TranslateICUParser extends TranslateICUCustomParser { constructor(); }