Rename constructor options typedef to 'Options'

This commit is contained in:
Frederic Junod
2018-03-29 15:50:32 +02:00
parent 0335420634
commit 60ca330dce
4 changed files with 14 additions and 14 deletions

View File

@@ -45,7 +45,7 @@ inherits(CollectionEvent, Event);
/**
* @typedef {Object} CollectionOptions
* @typedef {Object} Options
* @property {boolean} [unique=false] Disallow the same item from being added to
* the collection twice.
*/
@@ -62,7 +62,7 @@ inherits(CollectionEvent, Event);
* @extends {module:ol/Object~Object}
* @fires module:ol/Collection~CollectionEvent
* @param {Array.<T>=} opt_array Array.
* @param {module:ol/Collection~CollectionOptions=} opt_options Collection options.
* @param {module:ol/Collection~Options=} opt_options Collection options.
* @template T
* @api
*/