Merge pull request #13334 from EvertEt/strictnullchecks-4

Improve some null types for strictNullChecks
This commit is contained in:
Tim Schaub
2022-02-08 10:32:32 -07:00
committed by GitHub
17 changed files with 37 additions and 37 deletions

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_) {