Use Array<Foo> instead of Array.<Foo>
This commit is contained in:
@@ -136,7 +136,7 @@ class PointerInteraction extends Interaction {
|
||||
this.trackedPointers_ = {};
|
||||
|
||||
/**
|
||||
* @type {Array.<module:ol/pointer/PointerEvent>}
|
||||
* @type {Array<module:ol/pointer/PointerEvent>}
|
||||
* @protected
|
||||
*/
|
||||
this.targetPointers = [];
|
||||
@@ -169,7 +169,7 @@ class PointerInteraction extends Interaction {
|
||||
|
||||
|
||||
/**
|
||||
* @param {Array.<module:ol/pointer/PointerEvent>} pointerEvents List of events.
|
||||
* @param {Array<module:ol/pointer/PointerEvent>} pointerEvents List of events.
|
||||
* @return {module:ol/pixel~Pixel} Centroid pixel.
|
||||
*/
|
||||
export function centroid(pointerEvents) {
|
||||
|
||||
Reference in New Issue
Block a user