diff --git a/packages/core/src/util/BUILD.bazel b/packages/core/src/util/BUILD.bazel index 982244b765..3ea2b343c1 100644 --- a/packages/core/src/util/BUILD.bazel +++ b/packages/core/src/util/BUILD.bazel @@ -13,6 +13,7 @@ ts_library( ], ), deps = [ + "//packages:types", "//packages/core/src/interface", "@npm//rxjs", ], diff --git a/packages/core/src/util/ng_i18n_closure_mode.ts b/packages/core/src/util/ng_i18n_closure_mode.ts index 8defa1ce58..7ee5abc919 100644 --- a/packages/core/src/util/ng_i18n_closure_mode.ts +++ b/packages/core/src/util/ng_i18n_closure_mode.ts @@ -15,5 +15,6 @@ declare global { if (typeof global['ngI18nClosureMode'] === 'undefined') { // Make sure to refer to ngI18nClosureMode as ['ngI18nClosureMode'] for closure. global['ngI18nClosureMode'] = - typeof global['goog'] !== 'undefined' && typeof global['goog'].getMsg === 'function'; + // TODO(FW-1250): validate that this actually, you know, works. + typeof goog !== 'undefined' && typeof goog.getMsg === 'function'; }