From b6483a49c1961a532f1f409e4f12d5a8f87a6b56 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 19 Mar 2018 17:02:58 +0100 Subject: [PATCH] Fix typedef name in jsdoc --- src/ol/colorlike.js | 6 +++--- src/ol/control.js | 6 +++--- src/ol/control/OverviewMap.js | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ol/colorlike.js b/src/ol/colorlike.js index 80c23e67fa..eb0b2d37cf 100644 --- a/src/ol/colorlike.js +++ b/src/ol/colorlike.js @@ -18,7 +18,7 @@ import {toString} from './color.js'; /** * @param {module:ol/color~Color|module:ol/colorlike~ColorLike} color Color. - * @return {module:ol/color~ColorLike} The color as an {@link ol/color~ColorLike}. + * @return {module:ol/colorlike~ColorLike} The color as an {@link ol/colorlike~ColorLike}. * @api */ export function asColorLike(color) { @@ -31,8 +31,8 @@ export function asColorLike(color) { /** - * @param {?} color The value that is potentially an {@link ol/color~ColorLike}. - * @return {boolean} The color is an {@link ol/color~ColorLike}. + * @param {?} color The value that is potentially an {@link ol/colorlike~ColorLike}. + * @return {boolean} The color is an {@link ol/colorlike~ColorLike}. */ export function isColorLike(color) { return ( diff --git a/src/ol/control.js b/src/ol/control.js index 2f8fe9d746..79587b3d9b 100644 --- a/src/ol/control.js +++ b/src/ol/control.js @@ -11,14 +11,14 @@ import Zoom from './control/Zoom.js'; * @typedef {Object} DefaultsOptions * @property {boolean} [attribution=true] Include * {@link module:ol/control/Attribution~Attribution}. - * @property {module:ol/control/Attribution~AttributionOptions} [attributionOptions] + * @property {module:ol/control/Attribution~Options} [attributionOptions] * Options for {@link module:ol/control/Attribution~Attribution}. * @property {boolean} [rotate=true] Include * {@link module:ol/control/Rotate~Rotate}. - * @property {module:ol/control/Rotate~RotateOptions} [rotateOptions] Options + * @property {module:ol/control/Rotate~Options} [rotateOptions] Options * for {@link module:ol/control/Rotate~Rotate}. * @property {boolean} [zoom] Include {@link module:ol/control/Zoom~Zoom}. - * @property {module:ol/control/Zoom~ZoomOptions} [zoomOptions] Options for + * @property {module:ol/control/Zoom~Options} [zoomOptions] Options for * {@link module:ol/control/Zoom~Zoom}. * @api */ diff --git a/src/ol/control/OverviewMap.js b/src/ol/control/OverviewMap.js index 11e9cd1de5..72958ea668 100644 --- a/src/ol/control/OverviewMap.js +++ b/src/ol/control/OverviewMap.js @@ -270,7 +270,7 @@ OverviewMap.prototype.setMap = function(map) { /** * Handle map property changes. This only deals with changes to the map's view. - * @param {module:ol/Object~BaseObject.Event} event The propertychange event. + * @param {module:ol/Object~ObjectEvent} event The propertychange event. * @private */ OverviewMap.prototype.handleMapPropertyChange_ = function(event) {