diff --git a/lib/mixins/gesture-event-listeners.js b/lib/mixins/gesture-event-listeners.js index b509e8db87..04dc14fd89 100644 --- a/lib/mixins/gesture-event-listeners.js +++ b/lib/mixins/gesture-event-listeners.js @@ -27,7 +27,7 @@ import { addListener, removeListener } from '../utils/gestures.js'; * cross-platform * gesture events to nodes */ -const _GestureEventListeners = dedupingMixin( +const GestureEventListeners = dedupingMixin( /** * @template T * @param {function(new:T)} superClass Class to apply mixin to. @@ -74,13 +74,15 @@ const _GestureEventListeners = dedupingMixin( return GestureEventListeners; }); -// Somehow _GestureEventListeners is incorrectly typed as *. For now add this +// Somehow GestureEventListeners is incorrectly typed as *. For now add this // cast. /** * @template T * @param {function(new:T)} superClass Class to apply mixin to. * @return {function(new:T)} superClass with mixin applied. */ -export const GestureEventListeners = function(superClass) { - return _GestureEventListeners(superClass); +const _GestureEventListeners = function(superClass) { + return GestureEventListeners(superClass); }; + +export {_GestureEventListeners as GestureEventListeners};