Docs: add closing parenthesis so code example runs

This commit is contained in:
Pedro Poveda 2021-01-31 15:44:13 -05:00 committed by Lovell Fuller
parent 315f519e1d
commit 202083999e
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ await sharp({
sigma: 30
}
}
}.toFile('noise.png');
}).toFile('noise.png');
```
- Throws **[Error][10]** Invalid parameters

View File

@ -117,7 +117,7 @@ const debuglog = util.debuglog('sharp');
* sigma: 30
* }
* }
* }.toFile('noise.png');
* }).toFile('noise.png');
*
* @param {(Buffer|Uint8Array|Uint8ClampedArray|string)} [input] - if present, can be
* a Buffer / Uint8Array / Uint8ClampedArray containing JPEG, PNG, WebP, AVIF, GIF, SVG, TIFF or raw pixel image data, or