Files
flights_web_raw/node_modules/ngx-translate-messageformat-compiler/lib/translate-message-format-compiler.d.ts
T

12 lines
501 B
TypeScript

import { TranslateCompiler } from "@ngx-translate/core";
import { MessageFormatConfig } from "./message-format-config";
/**
* This compiler expects ICU syntax and compiles the expressions with messageformat.js
*/
export declare class TranslateMessageFormatCompiler extends TranslateCompiler {
private messageFormat;
constructor(config?: MessageFormatConfig);
compile(value: string, lang: string): (params: any) => string;
compileTranslations(translations: any, lang: string): any;
}