update types

This commit is contained in:
Steven Orvell
2018-01-30 15:19:58 -08:00
parent 4177d9ce7e
commit 5521e43e69
2 changed files with 13 additions and 0 deletions

View File

@@ -24,6 +24,10 @@ function Polymer_PropertiesChanged(){}
Polymer_PropertiesChanged.prototype._createPropertyAccessor = function(property, readOnly){};
/**
* @param {string} property Name of the property
*/
Polymer_PropertiesChanged.prototype._addPropertyToAttributeMap = function(property){};
/**
* @param {string} property Name of the property
* @param {boolean=} readOnly When true, no setter is created
* @return {void}
*/

View File

@@ -77,6 +77,15 @@ declare namespace Polymer {
*/
_createPropertyAccessor(property: string, readOnly?: boolean): void;
/**
* Adds the given `property` to a map matching attribute names
* to property names, using `attributeNameForProperty`. This map is
* used when deserializing attribute values to properties.
*
* @param property Name of the property
*/
_addPropertyToAttributeMap(property: string): any;
/**
* Defines a property accessor for the given property.
*