UNPKG

tsoid

Version:

Typed functional library to deal with async operations.

12 lines (11 loc) 246 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Put a value into a promise in resolved state. * * @param {any} arg Anything */ function pure(arg) { return Promise.resolve(arg); } exports.default = pure;