diff --git a/src/ol/typedefs.js b/src/ol/typedefs.js index 53d99bf7b8..778f2765af 100644 --- a/src/ol/typedefs.js +++ b/src/ol/typedefs.js @@ -177,13 +177,6 @@ ol.ColorLike; ol.Constraints; -/** - * An array of numbers representing an xy coordinate. Example: `[16, 48]`. - * @typedef {Array.} - */ -ol.Coordinate; - - /** * A function that takes a {@link ol.Coordinate} and transforms it into a * `{string}`. diff --git a/src/ol/types.js b/src/ol/types.js new file mode 100644 index 0000000000..0553668411 --- /dev/null +++ b/src/ol/types.js @@ -0,0 +1,11 @@ +/** + * @module ol/types + */ + + +/** + * An array of numbers representing an xy coordinate. Example: `[16, 48]`. + * @typedef {Array.} Coordinate + * @api + */ +