Types: changes/additions relating to new v0.32.0 features

A separate commit is required as these were not part of the
initial definitions in the v0.31.3 snapshot.

From now on, new features and updates can include the relevant
TypeScript definition changes as part of the same
code/docs/tests commits.
This commit is contained in:
Lovell Fuller
2023-01-17 16:11:02 +00:00
parent 25c6da2bcd
commit a532659b0f
2 changed files with 21 additions and 8 deletions

View File

@@ -352,8 +352,10 @@ sharp(input)
.gif({})
.gif({ loop: 0, delay: [], force: true })
.gif({ delay: 30 })
.gif({ reoptimise: true })
.gif({ reoptimize: false })
.gif({ reuse: true })
.gif({ reuse: false })
.gif({ progressive: true })
.gif({ progressive: false })
.toBuffer({ resolveWithObject: true })
.then(({ data, info }) => {
console.log(data);
@@ -589,6 +591,7 @@ sharp({
rgba: true,
justify: true,
spacing: 10,
wrap: 'charWord',
},
})
.png()