UNPKG

monocle-ts-esm

Version:

A porting of scala monocle library to TypeScript

16 lines (15 loc) 326 B
/** * @since 1.6.0 */ import { Either } from 'fp-ts-esm/Either' import { Prism } from './index.js' /** * @category constructor * @since 1.6.0 */ export declare const _right: <E, A>() => Prism<Either<E, A>, A> /** * @category constructor * @since 1.6.0 */ export declare const _left: <E, A>() => Prism<Either<E, A>, E>