@effect-ts/system
Version:
Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.
8 lines • 437 B
TypeScript
import { NoSuchElementException } from "../GlobalExceptions/index.js";
import type * as O from "../Option/index.js";
import type { Effect } from "./effect.js";
/**
* Extracts the optional value, or fails with a `NoSuchElementException`
*/
export declare function someOrFailException<R, E, A>(self: Effect<R, E, O.Option<A>>, __trace?: string): Effect<R, E | NoSuchElementException, A>;
//# sourceMappingURL=someOrFailException.d.ts.map