UNPKG

696 BTypeScriptView Raw
1import * as i0 from "@angular/core";
2export declare abstract class TranslateCompiler {
3 abstract compile(value: string, lang: string): string | Function;
4 abstract compileTranslations(translations: any, lang: string): any;
5}
6/**
7 * This compiler is just a placeholder that does nothing, in case you don't need a compiler at all
8 */
9export declare class TranslateFakeCompiler extends TranslateCompiler {
10 compile(value: string, lang: string): string | Function;
11 compileTranslations(translations: any, lang: string): any;
12 static ɵfac: i0.ɵɵFactoryDeclaration<TranslateFakeCompiler, never>;
13 static ɵprov: i0.ɵɵInjectableDeclaration<TranslateFakeCompiler>;
14}