Docs/types: add Promise<T> and Array<T> #472

Changelog updates and version bump of devDeps
This commit is contained in:
Lovell Fuller
2016-11-17 19:50:19 +00:00
parent 6ccccf8c39
commit effa77afee
13 changed files with 113 additions and 54 deletions

View File

@@ -154,7 +154,7 @@ const clone = function clone () {
* });
*
* @param {Function} [callback] - called with the arguments `(err, metadata)`
* @returns {Promise|Sharp}
* @returns {Promise<Object>|Sharp}
*/
const metadata = function metadata (callback) {
const that = this;