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

@@ -69,7 +69,7 @@ class EPSG3857Projection extends Projection {
* Projections equal to EPSG:3857.
*
* @const
* @type {Array.<module:ol/proj/Projection>}
* @type {Array<module:ol/proj/Projection>}
*/
export const PROJECTIONS = [
new EPSG3857Projection('EPSG:3857'),
@@ -85,10 +85,10 @@ export const PROJECTIONS = [
/**
* Transformation from EPSG:4326 to EPSG:3857.
*
* @param {Array.<number>} input Input array of coordinate values.
* @param {Array.<number>=} opt_output Output array of coordinate values.
* @param {Array<number>} input Input array of coordinate values.
* @param {Array<number>=} opt_output Output array of coordinate values.
* @param {number=} opt_dimension Dimension (default is `2`).
* @return {Array.<number>} Output array of coordinate values.
* @return {Array<number>} Output array of coordinate values.
*/
export function fromEPSG4326(input, opt_output, opt_dimension) {
const length = input.length;
@@ -121,10 +121,10 @@ export function fromEPSG4326(input, opt_output, opt_dimension) {
/**
* Transformation from EPSG:3857 to EPSG:4326.
*
* @param {Array.<number>} input Input array of coordinate values.
* @param {Array.<number>=} opt_output Output array of coordinate values.
* @param {Array<number>} input Input array of coordinate values.
* @param {Array<number>=} opt_output Output array of coordinate values.
* @param {number=} opt_dimension Dimension (default is `2`).
* @return {Array.<number>} Output array of coordinate values.
* @return {Array<number>} Output array of coordinate values.
*/
export function toEPSG4326(input, opt_output, opt_dimension) {
const length = input.length;

View File

@@ -64,7 +64,7 @@ class EPSG4326Projection extends Projection {
* Projections equal to EPSG:4326.
*
* @const
* @type {Array.<module:ol/proj/Projection>}
* @type {Array<module:ol/proj/Projection>}
*/
export const PROJECTIONS = [
new EPSG4326Projection('CRS:84'),