Type-Level Bug Found in `@effect/opentelemetry/WebSdk` Affecting `WebSdk.layer()` Inference

I found a type-level bug in @effect/opentelemetry/WebSdk --> R and A type arguments were left unswapped in WebSdk.layer() and inference is broken when passing an Effect as the evaluate parameter. It took me a bit of time to figure out what was going on, but the source code never lies!

PR with the fix: https://github.com/Effect-TS/effect/pull/3874
Was this page helpful?