typeable-promisify
- Wrap any node-style callback function with a promise.
- Allows you to specify your own type annotations.
- Strongly typed.
// @flow; let writeFileAsync = filePath: string fileContents: string: Promise<void> return ;; ;
// @flow; let writeFileAsync = filePath: string fileContents: string: Promise<void> return ;; ;
npm i typeable-promisify
5,713
2.0.1
MIT