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

@@ -146,8 +146,8 @@ import Units from './proj/Units.js';
* the animation.
* @property {ol.Coordinate|undefined} anchor Optional anchor to remained fixed
* during a rotation or resolution animation.
* @property {number|undefined} [duration=1000] The duration of the animation in milliseconds.
* @property {undefined|function(number):number} [easing] The easing function used
* @property {number} [duration=1000] The duration of the animation in milliseconds.
* @property {function(number):number} [easing] The easing function used
* during the animation (defaults to {@link ol.easing.inAndOut}).
* The function will be called for each frame with a number representing a
* fraction of the animation's duration. The function should return a number