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

View File

@@ -45,7 +45,7 @@ import TouchSource from '../pointer/TouchSource.js';
/**
* Properties to copy when cloning an event, with default values.
* @type {Array.<Array>}
* @type {Array<Array>}
*/
const CLONE_PROPS = [
// MouseEvent
@@ -111,7 +111,7 @@ class PointerEventHandler extends EventTarget {
this.eventMap_ = {};
/**
* @type {Array.<module:ol/pointer/EventSource>}
* @type {Array<module:ol/pointer/EventSource>}
* @private
*/
this.eventSourceList_ = [];
@@ -203,7 +203,7 @@ class PointerEventHandler extends EventTarget {
/**
* Setup listeners for the given events.
* @private
* @param {Array.<string>} events List of events.
* @param {Array<string>} events List of events.
*/
addEvents_(events) {
events.forEach(function(eventName) {
@@ -214,7 +214,7 @@ class PointerEventHandler extends EventTarget {
/**
* Unregister listeners for the given events.
* @private
* @param {Array.<string>} events List of events.
* @param {Array<string>} events List of events.
*/
removeEvents_(events) {
events.forEach(function(e) {