From e8095154f9364756c40705e899b265efd53c3e1a Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Wed, 14 Nov 2018 16:03:43 -0800 Subject: [PATCH] Update types --- externs/closure-types.js | 8 ++++---- types/lib/legacy/legacy-element-mixin.d.ts | 1 - types/lib/mixins/element-mixin.d.ts | 1 + 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/externs/closure-types.js b/externs/closure-types.js index a140d68e39..478727b505 100644 --- a/externs/closure-types.js +++ b/externs/closure-types.js @@ -877,6 +877,10 @@ Polymer_ElementMixin.createProperties = function(props){}; */ Polymer_ElementMixin._finalizeClass = function(){}; /** +* @return {undefined} +*/ +Polymer_ElementMixin._prepareTemplate = function(){}; +/** * @param {Object} observers Array of observer descriptors for this class * @param {Object} dynamicFns Object containing keys for any properties @@ -1299,10 +1303,6 @@ Polymer_LegacyElementMixin.prototype._error = function(args){}; */ Polymer_LegacyElementMixin.prototype._logf = function(methodName, args){}; /** -* @return {undefined} -*/ -Polymer_LegacyElementMixin._finalizeClass = function(){}; -/** * @interface */ function Polymer_MutableData(){} diff --git a/types/lib/legacy/legacy-element-mixin.d.ts b/types/lib/legacy/legacy-element-mixin.d.ts index 40c4be507f..6f4d187381 100644 --- a/types/lib/legacy/legacy-element-mixin.d.ts +++ b/types/lib/legacy/legacy-element-mixin.d.ts @@ -30,7 +30,6 @@ declare namespace Polymer { interface LegacyElementMixinConstructor { new(...args: any[]): LegacyElementMixin; - _finalizeClass(): void; } interface LegacyElementMixin extends Polymer.ElementMixin, Polymer.PropertyEffects, Polymer.TemplateStamp, Polymer.PropertyAccessors, Polymer.PropertiesChanged, Polymer.PropertiesMixin, Polymer.GestureEventListeners { diff --git a/types/lib/mixins/element-mixin.d.ts b/types/lib/mixins/element-mixin.d.ts index c0d43eb01d..8a20237204 100644 --- a/types/lib/mixins/element-mixin.d.ts +++ b/types/lib/mixins/element-mixin.d.ts @@ -100,6 +100,7 @@ declare namespace Polymer { * find the template. */ _finalizeClass(): void; + _prepareTemplate(): void; /** * Creates observers for the given `observers` array.