UNPKG

monad-ts

Version:

Monad-ts is a small library implements some of key monads and way to chain them in a pipe (flow) in JavaScript and TypeScript. Angular 2+ compatible.

9 lines (8 loc) 192 B
/** * Pr<U> - type of returned values. * @public * @typedef {M<U> | U} Pr<U> */ /** Comment for ESDoc */ import { M } from "../interfaces/m"; export declare type Pr<U> = M<U> | U;