Remove invalid undefined type in params

This commit is contained in:
Frederic Junod
2019-09-27 11:01:50 +02:00
parent 400667fe95
commit ea88e6cbd4
3 changed files with 4 additions and 4 deletions

View File

@@ -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
*/

View File

@@ -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 || {};

View File

@@ -101,7 +101,7 @@ const DEFAULT_FRAGMENT_SHADER = `
class WebGLPostProcessingPass {
/**
* @param {Options=} options Options.
* @param {Options} options Options.
*/
constructor(options) {
this.gl_ = options.webGlContext;