UNPKG

498 BTypeScriptView Raw
1export declare abstract class TranslateCompiler {
2 abstract compile(value: string, lang: string): string | Function;
3 abstract compileTranslations(translations: any, lang: string): any;
4}
5/**
6 * This compiler is just a placeholder that does nothing, in case you don't need a compiler at all
7 */
8export declare class TranslateFakeCompiler extends TranslateCompiler {
9 compile(value: string, lang: string): string | Function;
10 compileTranslations(translations: any, lang: string): any;
11}