Improve some null types to prepare for strictNullChecks

This commit is contained in:
EvertEt
2022-01-30 12:15:46 +01:00
parent 12f8bae261
commit e3d3d24f05
20 changed files with 41 additions and 39 deletions

View File

@@ -87,7 +87,7 @@ class Static extends ImageSource {
/**
* @private
* @type {import("../size.js").Size}
* @type {import("../size.js").Size|null}
*/
this.imageSize_ = options.imageSize ? options.imageSize : null;