Type Error with 'exactOptionalPropertyTypes: true' in Effect Typescript

What's with this error?

Argument of type 'Effect<unknown, unknown, unknown>' is not assignable to parameter of type 'Effect<unknown, unknown, never>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
  Type 'unknown' is not assignable to type 'never'.


https://effect.website/play#2e6bd848b775
0.png
Was this page helpful?