@ngx-translate/core
Version:
15 lines (14 loc) • 682 B
TypeScript
import * as i0 from "@angular/core";
export declare abstract class TranslateCompiler {
abstract compile(value: string, lang: string): string | Function;
abstract compileTranslations(translations: any, lang: string): any;
}
/**
* This compiler is just a placeholder that does nothing, in case you don't need a compiler at all
*/
export declare class TranslateFakeCompiler extends TranslateCompiler {
compile(value: string, lang: string): string | Function;
compileTranslations(translations: any, lang: string): any;
static ɵfac: i0.ɵɵFactoryDeclaration<TranslateFakeCompiler, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<TranslateFakeCompiler>;
}