Skip to content

Commit 75e5afc

Browse files
authoredApr 22, 2022
Docs: fix typo in gif example (#3201)
1 parent d396a4e commit 75e5afc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎docs/api-output.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ The first entry in the palette is reserved for transparency.
334334
// Convert PNG to GIF
335335
await sharp(pngBuffer)
336336
.gif()
337-
.toBuffer());
337+
.toBuffer();
338338
```
339339

340340
```javascript

‎lib/output.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ function webp (options) {
516516
* // Convert PNG to GIF
517517
* await sharp(pngBuffer)
518518
* .gif()
519-
* .toBuffer());
519+
* .toBuffer();
520520
*
521521
* @example
522522
* // Convert animated WebP to animated GIF

0 commit comments

Comments
 (0)
Please sign in to comment.