Handling Recoverable Errors in TypeScript with `Schedule` and `Effect.die`

I'm trying to use Schedule for retrying an Effect based on an tagged recoverable error.

Can I remove from
E
the error used in the Schedule condition and let typescript know that the error has been handled? For now I'm using catchTag and using Effect.die with an unrecoverable error
Was this page helpful?