Add ': void' to non returning functions (error TS7014)
This commit is contained in:
@@ -133,7 +133,7 @@ class DragBox extends PointerInteraction {
|
||||
|
||||
/**
|
||||
* Function to execute just before `onboxend` is fired
|
||||
* @type {function(this:DragBox, import("../MapBrowserEvent.js").default)}
|
||||
* @type {function(this:DragBox, import("../MapBrowserEvent.js").default): void}
|
||||
* @private
|
||||
*/
|
||||
this.onBoxEnd_ = options.onBoxEnd ? options.onBoxEnd : VOID;
|
||||
|
||||
Reference in New Issue
Block a user