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

View File

@@ -31,13 +31,13 @@ class MapBrowserEvent extends MapEvent {
/**
* The map pixel relative to the viewport corresponding to the original browser event.
* @type {import("./pixel.js").Pixel}
* @type {?import("./pixel.js").Pixel}
*/
this.pixel_ = null;
/**
* The coordinate in the user projection corresponding to the original browser event.
* @type {import("./coordinate.js").Coordinate}
* @type {?import("./coordinate.js").Coordinate}
*/
this.coordinate_ = null;