ngx-translate-messageformat-compiler
Version:
> Compiler for ngx-translate that uses messageformat.js to compile translations using ICU syntax for handling pluralization and gender
11 lines (10 loc) • 658 B
TypeScript
import { MessageFunction } from "@messageformat/core";
import { CompilationResult, TranslateMessageFormatCompiler } from "./translate-message-format-compiler";
import * as i0 from "@angular/core";
export declare class TranslateMessageFormatDebugCompiler extends TranslateMessageFormatCompiler {
compile<Result extends CompilationResult = MessageFunction<"string">>(value: string, lang: string): Result;
compileTranslations(value: any, lang: string): any;
private wrap;
static ɵfac: i0.ɵɵFactoryDeclaration<TranslateMessageFormatDebugCompiler, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<TranslateMessageFormatDebugCompiler>;
}