Improve some nullable map types

Closes #13326
This commit is contained in:
EvertEt
2022-02-04 09:53:58 +01:00
parent 5cfb634d89
commit 15de4bb5ab
8 changed files with 22 additions and 17 deletions
+2 -2
View File
@@ -378,8 +378,8 @@ class Overlay extends BaseObject {
/**
* Set the map to be associated with this overlay.
* @param {import("./PluggableMap.js").default|undefined} map The map that the
* overlay is part of.
* @param {import("./PluggableMap.js").default|undefined|null} map The map that the
* overlay is part of. Pass `null` to just remove the overlay from the current map.
* @observable
* @api
*/