diff --git a/externs/closure-types.js b/externs/closure-types.js index efcf89e2e3..768c96a846 100644 --- a/externs/closure-types.js +++ b/externs/closure-types.js @@ -580,7 +580,7 @@ Polymer_PropertyEffects.prototype.get = function(path, root){}; */ Polymer_PropertyEffects.prototype.set = function(path, value, root){}; /** -* @param {string | !Array} path Path to array. +* @param {(string|!Array.<(string|number)>)} path Path to array. * @param {...*} items * @return {number} */ @@ -1070,7 +1070,7 @@ Polymer_ElementMixin.prototype.get = function(path, root){}; */ Polymer_ElementMixin.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} */ @@ -1603,7 +1603,7 @@ Polymer_LegacyElementMixin.prototype.get = function(path, root){}; */ Polymer_LegacyElementMixin.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} */ @@ -2452,7 +2452,7 @@ Polymer_ArraySelectorMixin.prototype.get = function(path, root){}; */ Polymer_ArraySelectorMixin.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} */ @@ -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(){}; \ No newline at end of file