Less fancy type checking
This commit is contained in:
@@ -104,9 +104,8 @@ ol.Collection.prototype.clear = function() {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {function(this: T, *, number)} f Function.
|
* @param {Function} f Function.
|
||||||
* @param {T=} opt_obj The object to be used for the value of 'this' within f.
|
* @param {Object=} opt_obj Object.
|
||||||
* @template T
|
|
||||||
*/
|
*/
|
||||||
ol.Collection.prototype.forEach = function(f, opt_obj) {
|
ol.Collection.prototype.forEach = function(f, opt_obj) {
|
||||||
goog.array.forEach(this.array_, f, opt_obj);
|
goog.array.forEach(this.array_, f, opt_obj);
|
||||||
|
|||||||
Reference in New Issue
Block a user