Type Inference Issue with `Effect.fn` in TypeScript
Hello. I have a problem with
Has anyone else stumbled on this before? I can't figure out how to make it work correctly.
Here is also the example in playground: https://effect.website/play#6e19782f37c1
If you hover over
Effect.fn not inferring the type of the arguments correctly in the following case:Has anyone else stumbled on this before? I can't figure out how to make it work correctly.
Here is also the example in playground: https://effect.website/play#6e19782f37c1
If you hover over
a in the fnB you will see that the type is any.