Merge pull request #13328 from EvertEt/strictnullchecks-3

Improve some nullable map types
This commit is contained in:
Andreas Hocevar
2022-02-07 21:12:08 +01:00
committed by GitHub
8 changed files with 25 additions and 20 deletions

View File

@@ -29,7 +29,7 @@ class RenderBox extends Disposable {
/**
* @private
* @type {import("../PluggableMap.js").default}
* @type {import("../PluggableMap.js").default|null}
*/
this.map_ = null;
@@ -68,7 +68,7 @@ class RenderBox extends Disposable {
}
/**
* @param {import("../PluggableMap.js").default} map Map.
* @param {import("../PluggableMap.js").default|null} map Map.
*/
setMap(map) {
if (this.map_) {