diff --git a/config/jsdoc/api/plugins/inline-options.js b/config/jsdoc/api/plugins/inline-options.js index b3ea474cae..72511a7d18 100644 --- a/config/jsdoc/api/plugins/inline-options.js +++ b/config/jsdoc/api/plugins/inline-options.js @@ -1,5 +1,5 @@ /** - * @filedesc + * @fileoverview * Inlines option params from typedefs */ diff --git a/config/jsdoc/api/template/publish.js b/config/jsdoc/api/template/publish.js index ec79c81a88..936d7463bd 100644 --- a/config/jsdoc/api/template/publish.js +++ b/config/jsdoc/api/template/publish.js @@ -190,9 +190,9 @@ function generateSourceFiles(sourceFiles) { * for display purposes. This function mutates the original arrays. * * @private - * @param {Array} doclets - The array of classes and functions to + * @param {Array} doclets The array of classes and functions to * check. - * @param {Array} modules - The array of module doclets to search. + * @param {Array} modules The array of module doclets to search. */ function attachModuleSymbols(doclets, modules) { const symbols = {}; diff --git a/src/ol/layer/Group.js b/src/ol/layer/Group.js index f877ddc284..8738391f87 100644 --- a/src/ol/layer/Group.js +++ b/src/ol/layer/Group.js @@ -32,10 +32,6 @@ import {listen, unlistenByKey} from '../events.js'; * visible. * @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will * be visible. - * @property {number} [minZoom] The minimum view zoom level (exclusive) above which this layer will be - * visible. - * @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will - * be visible. * @property {Array|import("../Collection.js").default} [layers] Child layers. */ diff --git a/src/ol/style/Image.js b/src/ol/style/Image.js index 604c3c58fb..32e8810574 100644 --- a/src/ol/style/Image.js +++ b/src/ol/style/Image.js @@ -163,6 +163,7 @@ class ImageStyle { /** * Get the image pixel ratio. * @param {number} pixelRatio Pixel ratio. + * @return {number} Pixel ratio. */ getPixelRatio(pixelRatio) { return 1; diff --git a/src/ol/style/RegularShape.js b/src/ol/style/RegularShape.js index ebe7aaf29a..6522fdb0d3 100644 --- a/src/ol/style/RegularShape.js +++ b/src/ol/style/RegularShape.js @@ -243,6 +243,7 @@ class RegularShape extends ImageStyle { /** * Get the image pixel ratio. * @param {number} pixelRatio Pixel ratio. + * @return {number} Pixel ratio. */ getPixelRatio(pixelRatio) { return pixelRatio; diff --git a/tasks/generate-index.js b/tasks/generate-index.js index 2b8ab72fe1..37537fcf20 100644 --- a/tasks/generate-index.js +++ b/tasks/generate-index.js @@ -64,8 +64,6 @@ function formatSymbolExport(symbol, namespaces, imports) { /** * Generate export code given a list symbol names. * @param {Array} symbols List of symbols. - * @param {Object} namespaces Already defined namespaces. - * @param {Array} imports List of all imports. * @return {string} Export code. */ function generateExports(symbols) {