fix: TypeError in mixin function (#2506)

This commit is contained in:
Daniel Odendahl Jr
2018-04-24 19:35:07 -04:00
committed by Isabella
parent 8b83553462
commit 95b531742a

View File

@@ -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);
};
});
}