UNPKG

decline-ts

Version:

Composable command-line parser for TypeScript - a (partial) porting of Scala decline using fp-ts

11 lines (10 loc) 352 B
import { Result } from '../../Result'; import { AccumulatorHKT } from '../index'; export declare const URI = "Pure"; export declare type URI = typeof URI; export declare type Pure<A> = { readonly _tag: URI; readonly value: Result<A>; }; export declare const of: <A>(value: Result<A>) => Pure<A>; export declare const pure: AccumulatorHKT<URI>;