Improve some null types for strictNullChecks

This commit is contained in:
EvertEt
2022-02-06 19:35:41 +01:00
parent 459cd51ae2
commit 25e1d6c5d6
17 changed files with 37 additions and 37 deletions

View File

@@ -62,7 +62,7 @@ class WkbReader {
this.isLittleEndian_ = false;
this.hasZ_ = false;
this.hasM_ = false;
/** @type {number} */
/** @type {number|null} */
this.srid_ = null;
this.layout_ = GeometryLayout.XY;
@@ -356,7 +356,7 @@ class WkbReader {
}
/**
* @return {number} SRID in the EWKB. `null` if not defined.
* @return {number|null} SRID in the EWKB. `null` if not defined.
*/
getSrid() {
return this.srid_;