New typedef syntax for Event

This commit is contained in:
Andreas Hocevar
2018-03-07 13:44:40 +01:00
parent 258b6e1d56
commit 41cf1e93f4
2 changed files with 6 additions and 7 deletions

View File

@@ -244,13 +244,6 @@ ol.EventsListenerFunctionType;
ol.EventTargetLike;
/**
* An array of numbers representing an extent: `[minx, miny, maxx, maxy]`.
* @typedef {Array.<number>}
*/
ol.Extent;
/**
* {@link ol.source.Vector} sources use a function of this type to load
* features.

View File

@@ -21,3 +21,9 @@
* @property {string} type
*/
/**
* An array of numbers representing an extent: `[minx, miny, maxx, maxy]`.
* @typedef {Array.<number>} Extent
* @api
*/