Add ': void' to non returning functions (error TS7014)
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ import EventType from './events/EventType.js';
|
||||
* });
|
||||
* ```
|
||||
*
|
||||
* @typedef {function(Tile, string)} LoadFunction
|
||||
* @typedef {function(Tile, string): void} LoadFunction
|
||||
* @api
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user