UNPKG

@ldrick/trade-indicators

Version:
8 lines (7 loc) 192 B
import { either as E } from 'fp-ts/lib'; /** * Provides a way to transform Either to Promise. * * @public */ export declare const toPromise: <A>(values: E.Either<Error, A>) => Promise<A>;