Mark properties as nullable

This commit is contained in:
Frederic Junod
2019-10-01 10:47:07 +02:00
parent 89becd4c6d
commit 41b7893523
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ class ImageCanvas extends ImageBase {
/**
* @private
* @type {Error}
* @type {?Error}
*/
this.error_ = null;
@@ -54,7 +54,7 @@ class ImageCanvas extends ImageBase {
/**
* Get any error associated with asynchronous rendering.
* @return {Error} Any error that occurred during rendering.
* @return {?Error} Any error that occurred during rendering.
*/
getError() {
return this.error_;