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
+2 -2
View File
@@ -436,8 +436,8 @@ class Overlay extends BaseObject {
/** /**
* Get the extent of an element relative to the document * Get the extent of an element relative to the document
* @param {HTMLElement|undefined} element The element. * @param {HTMLElement} element The element.
* @param {import("./size.js").Size|undefined} size The size of the element. * @param {import("./size.js").Size} size The size of the element.
* @return {import("./extent.js").Extent} The extent. * @return {import("./extent.js").Extent} The extent.
* @protected * @protected
*/ */
+1 -1
View File
@@ -109,7 +109,7 @@ class WebGLPointsLayerRenderer extends WebGLLayerRenderer {
/** /**
* @param {import("../../layer/Layer.js").default} layer Layer. * @param {import("../../layer/Layer.js").default} layer Layer.
* @param {Options=} options Options. * @param {Options} options Options.
*/ */
constructor(layer, options) { constructor(layer, options) {
const uniforms = options.uniforms || {}; const uniforms = options.uniforms || {};
+1 -1
View File
@@ -101,7 +101,7 @@ const DEFAULT_FRAGMENT_SHADER = `
class WebGLPostProcessingPass { class WebGLPostProcessingPass {
/** /**
* @param {Options=} options Options. * @param {Options} options Options.
*/ */
constructor(options) { constructor(options) {
this.gl_ = options.webGlContext; this.gl_ = options.webGlContext;