Fix type check errors in ol/renderer/canvas/ImageLayer

This commit is contained in:
Kevin Schmidt
2018-10-02 13:15:02 -06:00
parent 2b8cee3e44
commit be4afde507
4 changed files with 7 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ import ImageState from './ImageState.js';
* If any error occurs during drawing, the "done" callback should be called with
* that error.
*
* @typedef {function(function(Error))} Loader
* @typedef {function(function(Error=))} Loader
*/
@@ -62,7 +62,7 @@ class ImageCanvas extends ImageBase {
/**
* Handle async drawing complete.
* @param {Error} err Any error during drawing.
* @param {Error=} err Any error during drawing.
* @private
*/
handleLoad_(err) {