Add ': void' to non returning functions (error TS7014)
This commit is contained in:
@@ -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=): void): void} Loader
|
||||
*/
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user