Skip to content

Commit

Permalink
Merge pull request #4776 from beckysiegel/patch-3
Browse files Browse the repository at this point in the history
Update closure annotation to support arrays for Polymer.prototype.push
  • Loading branch information
dfreedm authored Aug 7, 2017
2 parents 9591b2f + eb170cb commit b9c3688
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions externs/closure-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ Polymer_PropertyEffects.prototype.get = function(path, root){};
*/
Polymer_PropertyEffects.prototype.set = function(path, value, root){};
/**
* @param {string} path Path to array.
* @param {string | !Array<string|number>} path Path to array.
* @param {...*} items
* @return {number}
*/
Expand Down Expand Up @@ -2720,4 +2720,4 @@ Polymer_ArraySelectorMixin._parseBindings = function(text, templateInfo){};
Polymer_ArraySelectorMixin._evaluateBinding = function(inst, part, path, props, oldProps, hasPaths){};
/**
*/
Polymer_ArraySelectorMixin.finalize = function(){};
Polymer_ArraySelectorMixin.finalize = function(){};
2 changes: 1 addition & 1 deletion lib/mixins/property-effects.html
Original file line number Diff line number Diff line change
Expand Up @@ -1809,7 +1809,7 @@
* This method notifies other paths to the same array that a
* splice occurred to the array.
*
* @param {string} path Path to array.
* @param {string | !Array<string|number>} path Path to array.
* @param {...*} items Items to push onto array
* @return {number} New length of the array.
* @public
Expand Down

0 comments on commit b9c3688

Please sign in to comment.