UNPKG

tsoid

Version:

Typed functional library to deal with async operations.

7 lines (6 loc) 142 B
/** * Put a value into a promise in resolved state. * * @param {any} arg Anything */ export default function pure<A>(arg: A): Promise<A>;