Browse Source

flatten with infinite depth

master
f0x 5 months ago
parent
commit
e1618bacda
  1. 2
      index.js

2
index.js

@ -18,7 +18,7 @@ function unpackNestedEithers(errors) {
} else {
return error;
}
})).flat();
})).flat(Infinity);
}
function hasNestedPaths(error) {

Loading…
Cancel
Save