From e8f9ba4b6c4e29e6a451ee8d517a769a580a67d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=A1ko=20Hevery?= Date: Tue, 3 Sep 2019 11:43:13 -0700 Subject: [PATCH] fix(ivy): add missing closure extern for \$localize (#32460) PR Close #32460 --- packages/core/src/core.externs.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/core/src/core.externs.js b/packages/core/src/core.externs.js index 936424081b516..022c2f74e291d 100644 --- a/packages/core/src/core.externs.js +++ b/packages/core/src/core.externs.js @@ -16,3 +16,9 @@ * @suppress {duplicate} */ var wtf; + +/** + * This is needed to declare global `$localize` to let closure compiler know + * about the global variable. + */ +var $localize;