@effect-ts/system
Version:
Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.
7 lines • 308 B
TypeScript
import * as O from "../Option/index.js";
import type { Effect } from "./effect.js";
/**
* Maps the error value of this effect to an optional value.
*/
export declare function asSomeError<R, E, A>(self: Effect<R, E, A>, __trace?: string): Effect<R, O.Option<E>, A>;
//# sourceMappingURL=asSomeError.d.ts.map