Add ': void' to non returning functions (error TS7014)
This commit is contained in:
@@ -79,7 +79,7 @@ class Control extends BaseObject {
|
||||
this.listenerKeys = [];
|
||||
|
||||
/**
|
||||
* @type {function(import("../MapEvent.js").default)}
|
||||
* @type {function(import("../MapEvent.js").default): void}
|
||||
*/
|
||||
this.render = options.render ? options.render : VOID;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user