Use Array<Foo> instead of Array.<Foo>

This commit is contained in:
Tim Schaub
2018-07-25 18:32:43 -07:00
parent 5a6502572f
commit d12ef20b12
184 changed files with 1194 additions and 1194 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ class EventTarget extends Disposable {
/**
* @private
* @type {!Object.<string, Array.<module:ol/events~ListenerFunction>>}
* @type {!Object.<string, Array<module:ol/events~ListenerFunction>>}
*/
this.listeners_ = {};
@@ -122,7 +122,7 @@ class EventTarget extends Disposable {
* order that they will be called in.
*
* @param {string} type Type.
* @return {Array.<module:ol/events~ListenerFunction>} Listeners.
* @return {Array<module:ol/events~ListenerFunction>} Listeners.
*/
getListeners(type) {
return this.listeners_[type];