Remove undefined type when the property is optional

This commit is contained in:
Frederic Junod
2018-03-13 12:33:35 +01:00
parent 92d864ee92
commit bb3072153b
4 changed files with 19 additions and 19 deletions

View File

@@ -27,8 +27,8 @@ const Direction = {
/**
* @typedef {Object} Options
* @property {string|undefined} className CSS class name.
* @property {number|undefined} [duration=200] Animation duration in milliseconds.
* @property {string} [className='ol-zoomslider'] CSS class name.
* @property {number} [duration=200] Animation duration in milliseconds.
* @property {number|undefined} maxResolution Maximum resolution.
* @property {number|undefined} minResolution Minimum resolution.
* @property {function(ol.MapEvent)|undefined} render Function called when the control