mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Docs: add closing parenthesis so code example runs
This commit is contained in:
parent
315f519e1d
commit
202083999e
@ -116,7 +116,7 @@ await sharp({
|
|||||||
sigma: 30
|
sigma: 30
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}.toFile('noise.png');
|
}).toFile('noise.png');
|
||||||
```
|
```
|
||||||
|
|
||||||
- Throws **[Error][10]** Invalid parameters
|
- Throws **[Error][10]** Invalid parameters
|
||||||
|
@ -117,7 +117,7 @@ const debuglog = util.debuglog('sharp');
|
|||||||
* sigma: 30
|
* sigma: 30
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
* }.toFile('noise.png');
|
* }).toFile('noise.png');
|
||||||
*
|
*
|
||||||
* @param {(Buffer|Uint8Array|Uint8ClampedArray|string)} [input] - if present, can be
|
* @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
|
* a Buffer / Uint8Array / Uint8ClampedArray containing JPEG, PNG, WebP, AVIF, GIF, SVG, TIFF or raw pixel image data, or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user