From 5c3d58aa822c630974d7a3580206fd4df68e0c93 Mon Sep 17 00:00:00 2001 From: Sam Thorogood Date: Tue, 5 Dec 2017 11:32:55 +1100 Subject: [PATCH] change PolymerElement extern to var --- externs/polymer-externs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/externs/polymer-externs.js b/externs/polymer-externs.js index ceef420468..2ebdb20ef8 100644 --- a/externs/polymer-externs.js +++ b/externs/polymer-externs.js @@ -96,9 +96,10 @@ PolymerTelemetry.dumpRegistrations;; /** @type {PolymerTelemetry} */ Polymer.telemetry; +// nb. This is explicitly 'var', as Closure Compiler checks that this is the case. /** * @constructor * @extends {HTMLElement} * @implements {Polymer_LegacyElementMixin} */ -let PolymerElement = Polymer.LegacyElementMixin(); +var PolymerElement = Polymer.LegacyElementMixin();