diff --git a/externs/closure-types.js b/externs/closure-types.js index 27e4bc7835..c8b38c77e3 100644 --- a/externs/closure-types.js +++ b/externs/closure-types.js @@ -1383,19 +1383,19 @@ function Polymer_DisableUpgradeMixin(){} /** * @override */ -Polymer_DisableUpgradeMixin.prototype.attributeChangedCallback = function(name, old, value){}; +Polymer_DisableUpgradeMixin.prototype._initializeProperties = function(){}; /** * @override */ -Polymer_DisableUpgradeMixin.prototype._initializeProperties = function(){}; +Polymer_DisableUpgradeMixin.prototype._enableProperties = function(){}; /** * @override */ -Polymer_DisableUpgradeMixin.prototype.connectedCallback = function(){}; +Polymer_DisableUpgradeMixin.prototype.attributeChangedCallback = function(name, old, value){}; /** * @override */ -Polymer_DisableUpgradeMixin.prototype._enableProperties = function(){}; +Polymer_DisableUpgradeMixin.prototype.connectedCallback = function(){}; /** * @override */ diff --git a/types/lib/mixins/disable-upgrade-mixin.d.ts b/types/lib/mixins/disable-upgrade-mixin.d.ts index 80757fb860..f8584219d8 100644 --- a/types/lib/mixins/disable-upgrade-mixin.d.ts +++ b/types/lib/mixins/disable-upgrade-mixin.d.ts @@ -8,6 +8,8 @@ * lib/mixins/disable-upgrade-mixin.html */ +/// + declare namespace Polymer { @@ -38,10 +40,10 @@ declare namespace Polymer { } interface DisableUpgradeMixin { - attributeChangedCallback(name: any, old: any, value: any): void; _initializeProperties(): void; - connectedCallback(): void; _enableProperties(): void; + attributeChangedCallback(name: any, old: any, value: any): void; + connectedCallback(): void; disconnectedCallback(): void; } }