mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Docs/types: add Promise<T> and Array<T> #472
Changelog updates and version bump of devDeps
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user