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
@@ -98,13 +98,13 @@ class ReprojTile extends Tile {
/**
* @private
* @type {!Array.<module:ol/Tile>}
* @type {!Array<module:ol/Tile>}
*/
this.sourceTiles_ = [];
/**
* @private
* @type {Array.<module:ol/events~EventsKey>}
* @type {Array<module:ol/events~EventsKey>}
*/
this.sourcesListenerKeys_ = null;
+4 -4
View File
@@ -10,8 +10,8 @@ import {getTransform} from '../proj.js';
/**
* Single triangle; consists of 3 source points and 3 target points.
* @typedef {Object} Triangle
* @property {Array.<module:ol/coordinate~Coordinate>} source
* @property {Array.<module:ol/coordinate~Coordinate>} target
* @property {Array<module:ol/coordinate~Coordinate>} source
* @property {Array<module:ol/coordinate~Coordinate>} target
*/
@@ -94,7 +94,7 @@ class Triangulation {
this.errorThresholdSquared_ = errorThreshold * errorThreshold;
/**
* @type {Array.<module:ol/reproj/Triangulation~Triangle>}
* @type {Array<module:ol/reproj/Triangulation~Triangle>}
* @private
*/
this.triangles_ = [];
@@ -343,7 +343,7 @@ class Triangulation {
}
/**
* @return {Array.<module:ol/reproj/Triangulation~Triangle>} Array of the calculated triangles.
* @return {Array<module:ol/reproj/Triangulation~Triangle>} Array of the calculated triangles.
*/
getTriangles() {
return this.triangles_;