Skip to content

Commit

Permalink
fix: unnecessary as in all function in the Effect Either module (
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliobracci authored Mar 10, 2025
1 parent 8ae7827 commit a2361c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/effect/src/Either.ts
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ export const all: <const I extends Iterable<Either<any, any>> | Record<string, E
): Either<any, any> => {
if (Symbol.iterator in input) {
const out: Array<Either<any, any>> = []
for (const e of (input as Iterable<Either<any, any>>)) {
for (const e of input) {
if (isLeft(e)) {
return e
}
Expand Down

0 comments on commit a2361c6

Please sign in to comment.