feat(compiler): allow missing translations (#14113)

closes #13861
This commit is contained in:
Gion Kunz
2017-01-10 14:14:41 +01:00
committed by Miško Hevery
parent 5885c52c1f
commit 8775ab9495
9 changed files with 114 additions and 25 deletions

View File

@ -617,6 +617,16 @@ export declare class KeyValueDiffers {
/** @experimental */
export declare const LOCALE_ID: InjectionToken<string>;
/** @experimental */
export declare const MISSING_TRANSLATION_STRATEGY: OpaqueToken;
/** @experimental */
export declare enum MissingTranslationStrategy {
Error = 0,
Warning = 1,
Ignore = 2,
}
/** @experimental */
export declare class ModuleWithComponentFactories<T> {
componentFactories: ComponentFactory<any>[];