diff --git a/lib/utils/debounce.js b/lib/utils/debounce.js index 1ba103cd88..5215cc27c1 100644 --- a/lib/utils/debounce.js +++ b/lib/utils/debounce.js @@ -15,7 +15,7 @@ import './async.js'; /** * @summary Collapse multiple callbacks into one invocation after a timer. */ -export const Debouncer = class Debouncer { +export class Debouncer { constructor() { this._asyncModule = null; this._callback = null; @@ -111,4 +111,4 @@ export const Debouncer = class Debouncer { debouncer.setConfig(asyncModule, callback); return debouncer; } -}; +}