Skip to content

Commit

Permalink
Docs: fix typo in gif example (#3201)
Browse files Browse the repository at this point in the history
  • Loading branch information
humphd committed Apr 22, 2022
1 parent d396a4e commit 75e5afc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api-output.md
Expand Up @@ -334,7 +334,7 @@ The first entry in the palette is reserved for transparency.
// Convert PNG to GIF
await sharp(pngBuffer)
.gif()
.toBuffer());
.toBuffer();
```

```javascript
Expand Down
2 changes: 1 addition & 1 deletion lib/output.js
Expand Up @@ -516,7 +516,7 @@ function webp (options) {
* // Convert PNG to GIF
* await sharp(pngBuffer)
* .gif()
* .toBuffer());
* .toBuffer();
*
* @example
* // Convert animated WebP to animated GIF
Expand Down

0 comments on commit 75e5afc

Please sign in to comment.