promise-props

Home > @pearden/promise-props > init

init() function

Mount props and propsDeep functions onto Promise, so that they can be used as static methods of Promise

Signature:

declare function init(): void;

Returns:

void

Example

init() ;
await Promise.props() ;
await Promise.propsDeep() ;