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.

13 lines (9 loc) 249 B
/** * Pr<U> - type of returned values. * @public * @typedef {M<U> | U} Pr<U> */ /** Comment for ESDoc */ import {M} from "../interfaces/m"; export type Pr<U> = M<U> | U ; //Copyright (c) 2017 Alex Tranchenko. All rights reserved.