Mark properties as nullable

This commit is contained in:
Frederic Junod
2019-09-27 13:57:58 +02:00
parent 0e402073da
commit f67476dd8f
11 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ class MousePosition extends Control {
/**
* @private
* @type {import("../proj/Projection.js").default}
* @type {?import("../proj/Projection.js").default}
*/
this.mapProjection_ = null;
+1 -1
View File
@@ -41,7 +41,7 @@ class ZoomToExtent extends Control {
});
/**
* @type {import("../extent.js").Extent}
* @type {?import("../extent.js").Extent}
* @protected
*/
this.extent = options.extent ? options.extent : null;