update types

This commit is contained in:
Daniel Freedman
2018-02-21 14:11:51 -08:00
parent a37ba7e2cb
commit 2d674e75b1
2 changed files with 12 additions and 10 deletions

View File

@@ -1383,20 +1383,20 @@ function Polymer_DisableUpgradeMixin(){}
/**
* @override
*/
Polymer_DisableUpgradeMixin.prototype.attributeChangedCallback = function(name, old, value){};
/**
* @override
*/
Polymer_DisableUpgradeMixin.prototype._initializeProperties = function(){};
/**
* @override
*/
Polymer_DisableUpgradeMixin.prototype.connectedCallback = function(){};
/**
* @override
*/
Polymer_DisableUpgradeMixin.prototype._enableProperties = function(){};
/**
* @override
*/
Polymer_DisableUpgradeMixin.prototype.attributeChangedCallback = function(name, old, value){};
/**
* @override
*/
Polymer_DisableUpgradeMixin.prototype.connectedCallback = function(){};
/**
* @override
*/
Polymer_DisableUpgradeMixin.prototype.disconnectedCallback = function(){};

View File

@@ -8,6 +8,8 @@
* lib/mixins/disable-upgrade-mixin.html
*/
/// <reference path="element-mixin.d.ts" />
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;
}
}