Conditional Type Signature Issue with Exported Service Method

When I use a method (addJob) exported from my service created from
Effect.Service
, the conditional type signature seems to no longer work properly. Notice how inside the service, I properly see the conditional type. Once it's exported from my service, it stars showing all possible types for the payload rather than just the one for the identifier I passed in. Do you know why this might happen?
image.png
image.png
Was this page helpful?