From 41cf1e93f47978abfbb459d6253e7a2a864279fc Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Wed, 7 Mar 2018 13:44:40 +0100 Subject: [PATCH] New typedef syntax for Event --- src/ol/typedefs.js | 7 ------- src/ol/types.js | 6 ++++++ 2 files changed, 6 insertions(+), 7 deletions(-) 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 + */ +