flatten with infinite depth

master
f0x 2 years ago
parent a8fc604f4f
commit e1618bacda

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

Loading…
Cancel
Save