diff --git a/src/ol/Overlay.js b/src/ol/Overlay.js index f8d71f695a..c74d9bdf3e 100644 --- a/src/ol/Overlay.js +++ b/src/ol/Overlay.js @@ -436,8 +436,8 @@ class Overlay extends BaseObject { /** * Get the extent of an element relative to the document - * @param {HTMLElement|undefined} element The element. - * @param {import("./size.js").Size|undefined} size The size of the element. + * @param {HTMLElement} element The element. + * @param {import("./size.js").Size} size The size of the element. * @return {import("./extent.js").Extent} The extent. * @protected */ diff --git a/src/ol/renderer/webgl/PointsLayer.js b/src/ol/renderer/webgl/PointsLayer.js index 226b729b0d..d9a5495cc9 100644 --- a/src/ol/renderer/webgl/PointsLayer.js +++ b/src/ol/renderer/webgl/PointsLayer.js @@ -109,7 +109,7 @@ class WebGLPointsLayerRenderer extends WebGLLayerRenderer { /** * @param {import("../../layer/Layer.js").default} layer Layer. - * @param {Options=} options Options. + * @param {Options} options Options. */ constructor(layer, options) { const uniforms = options.uniforms || {}; diff --git a/src/ol/webgl/PostProcessingPass.js b/src/ol/webgl/PostProcessingPass.js index 1405398354..683e600c41 100644 --- a/src/ol/webgl/PostProcessingPass.js +++ b/src/ol/webgl/PostProcessingPass.js @@ -101,7 +101,7 @@ const DEFAULT_FRAGMENT_SHADER = ` class WebGLPostProcessingPass { /** - * @param {Options=} options Options. + * @param {Options} options Options. */ constructor(options) { this.gl_ = options.webGlContext;