diff --git a/src/ol/typedefs.js b/src/ol/typedefs.js index 09090ce105..88c9a8c950 100644 --- a/src/ol/typedefs.js +++ b/src/ol/typedefs.js @@ -646,17 +646,6 @@ ol.TileReplayState; ol.TileUrlFunctionType; -/** - * A transform function accepts an array of input coordinate values, an optional - * output array, and an optional dimension (default should be 2). The function - * transforms the input coordinate values, populates the output array, and - * returns the output array. - * - * @typedef {function(Array., Array.=, number=): Array.} - */ -ol.TransformFunction; - - /** * An animation configuration * diff --git a/src/ol/types.js b/src/ol/types.js index 72fcca14dc..50eda27d03 100644 --- a/src/ol/types.js +++ b/src/ol/types.js @@ -57,3 +57,12 @@ * @typedef {!Array.} Transform */ +/** + * A transform function accepts an array of input coordinate values, an optional + * output array, and an optional dimension (default should be 2). The function + * transforms the input coordinate values, populates the output array, and + * returns the output array. + * + * @typedef {function(Array., Array.=, number=): Array.} TransformFunction + * @api + */