Use Array<Foo> instead of Array.<Foo>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user