Typesafe Data Retrieval from `runPromiseExit` in `Effect.succeed`

Hiya everyone,

I'm trying to get the data returned in Effect.succeed from runPromiseExit in a typesafe way. But, it seems that value is not in the type in onSuccess within Exit.match, but is present at runtime, is there an assertion I can do to make this work? Or a better way to do this?

Thanks so much 😄
Was this page helpful?