fix(ivy): use goog.LOCALE for Closure Compiler to define default LOCALE_ID (#31519)
Prior to this commit, default value for LOCALE_ID was not setup for Closure Compiler. In Closure Compiler, we can use `goog.LOCALE` as a default value, which will be replaced at build time with current locale. PR Close #31519
This commit is contained in:

committed by
Matias Niemelä

parent
40d785f0a0
commit
09576e9683
1
packages/goog.d.ts
vendored
1
packages/goog.d.ts
vendored
@ -16,6 +16,7 @@ declare namespace goog {
|
||||
* as it is sometimes true.
|
||||
*/
|
||||
export const DEBUG: boolean;
|
||||
export const LOCALE: string;
|
||||
export const getMsg: (input: string, placeholders?: {[key: string]: string}) => string;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user