From ef4936de4a1ac44cadcb764dc3086e21adfbe869 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 7 Sep 2018 09:10:31 -0600 Subject: [PATCH] Listener return is boolean or void --- src/ol/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/events.js b/src/ol/events.js index 52b1b75e10..c17189f7b6 100644 --- a/src/ol/events.js +++ b/src/ol/events.js @@ -22,7 +22,7 @@ import {clear} from './obj.js'; * Listener function. This function is called with an event object as argument. * When the function returns `false`, event propagation will stop. * - * @typedef {function(import("./events/Event.js").default)|function(import("./events/Event.js").default): boolean} ListenerFunction + * @typedef {function(import("./events/Event.js").default): (void|boolean)} ListenerFunction * @api */