Mark properties as nullable
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user