diff --git a/src/ol/typedefs.js b/src/ol/typedefs.js index aded1fed4e..09090ce105 100644 --- a/src/ol/typedefs.js +++ b/src/ol/typedefs.js @@ -475,13 +475,6 @@ ol.RotationConstraintType; ol.SelectFilterFunction; -/** - * An array of numbers representing a size: `[width, height]`. - * @typedef {Array.} - */ -ol.Size; - - /** * @typedef {{ * snapped: {boolean}, diff --git a/src/ol/types.js b/src/ol/types.js index 4c52ed22a9..72fcca14dc 100644 --- a/src/ol/types.js +++ b/src/ol/types.js @@ -45,6 +45,12 @@ * @api */ +/** + * An array of numbers representing a size: `[width, height]`. + * @typedef {Array.} Size + * @api + */ + /** * An array representing an affine 2d transformation for use with * {@link module:ol/transform} functions. The array has 6 elements.