Skip to content

Commit

Permalink
Revert Promise<void> changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks committed Jul 27, 2018
1 parent 73ae8b4 commit ac6011e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions externs/closure-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Polymer_PropertiesChanged.prototype._addPropertyToAttributeMap = function(proper
*/
Polymer_PropertiesChanged.prototype._definePropertyAccessor = function(property, readOnly){};
/**
* @return {void|!Promise<void>}
* @return {void}
*/
Polymer_PropertiesChanged.prototype.ready = function(){};
/**
Expand Down Expand Up @@ -379,7 +379,7 @@ Polymer_PropertyEffects.prototype.__templateInfo;
Polymer_PropertyEffects.prototype._stampTemplate = function(template){};
/**
* @override
* @return {void|!Promise<void>}
* @return {void}
*/
Polymer_PropertyEffects.prototype.ready = function(){};
/**
Expand Down
3 changes: 1 addition & 2 deletions lib/mixins/properties-changed.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,13 @@ export const PropertiesChanged = dedupingMixin(
* bindings. `super.ready()` must be called to ensure the data system
* becomes enabled.
*
* @return {void|!Promise<void>} void
* @return {void}
* @public
* @override
*/
ready() {
this.__dataReady = true;
this._flushProperties();
return undefined;
}

/**
Expand Down

0 comments on commit ac6011e

Please sign in to comment.