From 98e90784f45eb7271b7efa6873ce33b292de6340 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Sat, 19 Jan 2019 14:11:54 +0000 Subject: [PATCH] Docs: overlay parameter of overlayWith is optional --- lib/composite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/composite.js b/lib/composite.js index 11114673..46dcdd0a 100644 --- a/lib/composite.js +++ b/lib/composite.js @@ -26,7 +26,7 @@ const is = require('./is'); * // sharpened, with metadata, 90% quality WebP image data. Phew! * }); * - * @param {(Buffer|String)} overlay - Buffer containing image data or String containing the path to an image file. + * @param {(Buffer|String)} [overlay] - Buffer containing image data or String containing the path to an image file. * @param {Object} [options] * @param {String} [options.gravity='centre'] - gravity at which to place the overlay. * @param {Number} [options.top] - the pixel offset from the top edge.