Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
batosai committed Jan 27, 2025
1 parent 5d2887a commit 69702c4
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions src/types/converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ type webp = {
}

type avif = {
format: 'avif',
format: 'avif'
options: {
quality?: number
lossless?: Boolean
Expand All @@ -107,7 +107,7 @@ type avif = {
}

type heif = {
format: 'heif',
format: 'heif'
options: {
compression?: string
quality?: number
Expand Down Expand Up @@ -139,5 +139,20 @@ export type ConverterOptions = {
withoutReduction?: Boolean
fastShrinkOnLoad?: Boolean
}
format?: 'jpeg' | 'jpg' | 'png' | 'gif' | 'webp' | 'avif' | 'heif' | 'tiff' | 'raw' | jpeg | png | gif | webp | avif | heif
format?:
| 'jpeg'
| 'jpg'
| 'png'
| 'gif'
| 'webp'
| 'avif'
| 'heif'
| 'tiff'
| 'raw'
| jpeg
| png
| gif
| webp
| avif
| heif
}

0 comments on commit 69702c4

Please sign in to comment.