diff --git a/src/ol/typedefs.js b/src/ol/typedefs.js index 6f56d9fe19..268aca9050 100644 --- a/src/ol/typedefs.js +++ b/src/ol/typedefs.js @@ -244,13 +244,6 @@ ol.EventsListenerFunctionType; ol.EventTargetLike; -/** - * An array of numbers representing an extent: `[minx, miny, maxx, maxy]`. - * @typedef {Array.} - */ -ol.Extent; - - /** * {@link ol.source.Vector} sources use a function of this type to load * features. diff --git a/src/ol/types.js b/src/ol/types.js index d0d8b8ae0e..db1238c4c6 100644 --- a/src/ol/types.js +++ b/src/ol/types.js @@ -21,3 +21,9 @@ * @property {string} type */ +/** + * An array of numbers representing an extent: `[minx, miny, maxx, maxy]`. + * @typedef {Array.} Extent + * @api + */ +