fix(compiler): fix missing translations handling (#14113)
PR Close #14113
This commit is contained in:

committed by
Miško Hevery

parent
8775ab9495
commit
827c3fe199
5
tools/public_api_guard/core/index.d.ts
vendored
5
tools/public_api_guard/core/index.d.ts
vendored
@ -243,6 +243,7 @@ export declare const COMPILER_OPTIONS: InjectionToken<{
|
||||
useJit?: boolean;
|
||||
defaultEncapsulation?: ViewEncapsulation;
|
||||
providers?: any[];
|
||||
missingTranslation?: MissingTranslationStrategy;
|
||||
}[]>;
|
||||
|
||||
/** @experimental */
|
||||
@ -256,6 +257,7 @@ export declare type CompilerOptions = {
|
||||
useJit?: boolean;
|
||||
defaultEncapsulation?: ViewEncapsulation;
|
||||
providers?: any[];
|
||||
missingTranslation?: MissingTranslationStrategy;
|
||||
};
|
||||
|
||||
/** @stable */
|
||||
@ -617,9 +619,6 @@ 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,
|
||||
|
Reference in New Issue
Block a user