From d7e9cc528535d8a2e56e8659f61c1163edb45f1a Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Mon, 12 Jul 2021 13:12:38 +0200 Subject: [PATCH] Fix type of PluggableMap#setTarget() argument --- src/ol/PluggableMap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/PluggableMap.js b/src/ol/PluggableMap.js index 4d8dfdb557..72547772d3 100644 --- a/src/ol/PluggableMap.js +++ b/src/ol/PluggableMap.js @@ -1480,7 +1480,7 @@ class PluggableMap extends BaseObject { /** * Set the target element to render this map into. - * @param {HTMLElement|string|undefined} target The Element or id of the Element + * @param {HTMLElement|string} [target] The Element or id of the Element * that the map is rendered in. * @observable * @api