Skip to content

Commit

Permalink
Update types
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Nov 15, 2018
1 parent cc1402d commit e809515
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions externs/closure-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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(){}
Expand Down
1 change: 0 additions & 1 deletion types/lib/legacy/legacy-element-mixin.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions types/lib/mixins/element-mixin.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ declare namespace Polymer {
* find the template.
*/
_finalizeClass(): void;
_prepareTemplate(): void;

/**
* Creates observers for the given `observers` array.
Expand Down

0 comments on commit e809515

Please sign in to comment.