Effect-TS / effect

An ecosystem of tools to build robust applications in TypeScript
https://effect.website
MIT License
7.71k stars 245 forks source link

Fix WebSdk.layer not infering properly due to R and A type args being swapped #3874

Closed jbmusso closed 3 weeks ago

jbmusso commented 3 weeks ago

Type

Description

It looks like R and A type arguments were not swapped during the major breaking change of the Effect API a few moons ago. This PR fixes this in WebSdk.layer so that inference isn't broken when building a layer when using an Effect.

Related

changeset-bot[bot] commented 3 weeks ago

🦋 Changeset detected

Latest commit: 7546199d89898f1bb3276dc7e552f6d6068f9484

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------- | ----- | | @effect/opentelemetry | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR