Creating a TypeScript type for errors in an effect
Hey everyone, is there a way to get a type for the errors of an effect? I have an effect like
Effect.Effect<never, HttpError | AuthError, Response> and I want a typescript type representing type Errors = HttpError | AuthError so that I can interface my new effect fetcher with the rest of my application