UNPKG

@effect-ts/system

Version:

Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.

12 lines 447 B
import type * as O from "../Option/index.js"; /** * Get the A from an option */ export declare function tryCatchOption_<A, E>(ma: O.Option<A>, onNone: () => E): import("./core.js").Sync<unknown, E, A>; /** * Get the A from an option * * @ets_data_first tryCatchOption_ */ export declare function tryCatchOption<A, E>(onNone: () => E): (ma: O.Option<A>) => import("./core.js").Sync<unknown, E, A>; //# sourceMappingURL=tryCatchOption.d.ts.map