doc: add return value to util.promisify

PR-URL: https://github.com/nodejs/node/pull/16040
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Supamic 2017-10-06 19:20:48 +00:00 committed by Ruben Bridgewater
parent cf02981139
commit 9c44215a91
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -461,6 +461,7 @@ added: v8.0.0
-->
* `original` {Function}
* Returns: {Function}
Takes a function following the common Node.js callback style, i.e. taking a
`(err, value) => ...` callback as the last argument, and returns a version