Improve some null types for strictNullChecks

This commit is contained in:
EvertEt
2022-02-06 19:35:41 +01:00
parent 459cd51ae2
commit 25e1d6c5d6
17 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -469,7 +469,7 @@ class WebGLHelper extends Disposable {
* Get a WebGL extension. If the extension is not supported, null is returned.
* Extensions are cached after they are enabled for the first time.
* @param {string} name The extension name.
* @return {Object} The extension or null if not supported.
* @return {Object|null} The extension or null if not supported.
*/
getExtension(name) {
if (name in this.extensionCache_) {