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:
@@ -54,7 +54,7 @@ const extractChannel = function extractChannel (channel) {
|
||||
* Buffers may be any of the image formats supported by sharp: JPEG, PNG, WebP, GIF, SVG, TIFF or raw pixel image data.
|
||||
* For raw pixel input, the `options` object should contain a `raw` attribute, which follows the format of the attribute of the same name in the `sharp()` constructor.
|
||||
*
|
||||
* @param {Array|String|Buffer} images - one or more images (file paths, Buffers).
|
||||
* @param {Array<String|Buffer>|String|Buffer} images - one or more images (file paths, Buffers).
|
||||
* @param {Object} options - image options, see `sharp()` constructor.
|
||||
* @returns {Sharp}
|
||||
* @throws {Error} Invalid parameters
|
||||
|
||||
Reference in New Issue
Block a user