Fix @type annotations so JSDoc doesn't complain

This commit is contained in:
adroitwhiz
2020-07-14 16:36:12 -04:00
parent a1ca2eb924
commit 56f673972a

View File

@@ -191,12 +191,12 @@ class RenderWebGL extends EventEmitter {
/** @type {Array.<snapshotCallback>} */ /** @type {Array.<snapshotCallback>} */
this._snapshotCallbacks = []; this._snapshotCallbacks = [];
/** @type {Array<number>} /** @type {Array<number>} */
* Don't set this directly-- use setBackgroundColor so it stays in sync with _backgroundColor3b */ // Don't set this directly-- use setBackgroundColor so it stays in sync with _backgroundColor3b
this._backgroundColor4f = [0, 0, 0, 1]; this._backgroundColor4f = [0, 0, 0, 1];
/** @type {Uint8ClampedArray} /** @type {Uint8ClampedArray} */
* Don't set this directly-- use setBackgroundColor so it stays in sync with _backgroundColor4f */ // Don't set this directly-- use setBackgroundColor so it stays in sync with _backgroundColor4f
this._backgroundColor3b = new Uint8ClampedArray(3); this._backgroundColor3b = new Uint8ClampedArray(3);
this._createGeometry(); this._createGeometry();