Type Inference with Union Types in Effect Library

https://effect.website/play#ed23da81ca6d

Why is the type const printOrFail: Effect.Effect<void, InvalidRandom, never> here and not const printOrFail: Effect.Effect<void, InvalidRandom | InvalidRandom2, never>?
Was this page helpful?