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

@@ -318,7 +318,7 @@ const normalize = function normalize (normalize) {
* @param {Object} kernel
* @param {Number} kernel.width - width of the kernel in pixels.
* @param {Number} kernel.height - width of the kernel in pixels.
* @param {Array} kernel.kernel - Array of length `width*height` containing the kernel values.
* @param {Array<Number>} kernel.kernel - Array of length `width*height` containing the kernel values.
* @param {Number} [kernel.scale=sum] - the scale of the kernel in pixels.
* @param {Number} [kernel.offset=0] - the offset of the kernel in pixels.
* @returns {Sharp}