New typedef syntax for Coordinate

This commit is contained in:
Andreas Hocevar committed 2018-03-07 13:43:31 +01:00
1 parent 3d5217f7e0
commit 5ca31e094e
2 files changed
+11 -7

No files matched your search

-7
View File
@@ -177,13 +177,6 @@ ol.ColorLike;
ol.Constraints;
/**
* An array of numbers representing an xy coordinate. Example: `[16, 48]`.
* @typedef {Array.<number>}
*/
ol.Coordinate;
/**
* A function that takes a {@link ol.Coordinate} and transforms it into a
* `{string}`.
+11
View File
@@ -0,0 +1,11 @@
/**
* @module ol/types
*/
/**
* An array of numbers representing an xy coordinate. Example: `[16, 48]`.
* @typedef {Array.<number>} Coordinate
* @api
*/