From 95b531742a8ed3215dabc5e5e1277e2d0ac3de88 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 24 Apr 2018 19:35:07 -0400 Subject: [PATCH] fix: TypeError in mixin function (#2506) --- src/util/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/Util.js b/src/util/Util.js index f6fa1c50b..5c50d5e5f 100644 --- a/src/util/Util.js +++ b/src/util/Util.js @@ -437,7 +437,7 @@ class Util { const func = Collection.prototype[prop]; if (prop === 'constructor' || typeof func !== 'function') return; store.prototype[prop] = function(...args) { - return func.apply(this._filtered, ...args); + return func.apply(this._filtered, args); }; }); }