@andrew_l/toolkit 0.2.14 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -4392,7 +4392,7 @@ class SimpleEventEmitter {
4392
4392
  if (!set) return false;
4393
4393
  set.forEach((fn) => {
4394
4394
  try {
4395
- const result = fn();
4395
+ const result = fn(...args);
4396
4396
  if (isPromise(result)) {
4397
4397
  result.catch((err) => {
4398
4398
  this.emit("error", err);