Trouble with Simple Service Example
Hello, I am having trouble getting the simple service example of the doc working without error.
Piping the Random Tag into Effect.flatMap gives me the following error
Using Effect.serviceOption instead works, but it removes the Tag from the Effect signature. All @effect packages are at the latest, as well as Typescript. Any idea on what might be causing this? Also worth mentioning that I've been using effect-ts for a week now and everything else works as expected so far except this.
Piping the Random Tag into Effect.flatMap gives me the following error
Using Effect.serviceOption instead works, but it removes the Tag from the Effect signature. All @effect packages are at the latest, as well as Typescript. Any idea on what might be causing this? Also worth mentioning that I've been using effect-ts for a week now and everything else works as expected so far except this.
