Skip to content

Commit 69702c4

Browse files
committed
chore: format
1 parent 5d2887a commit 69702c4

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

src/types/converter.ts

+18-3
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ type webp = {
9696
}
9797

9898
type avif = {
99-
format: 'avif',
99+
format: 'avif'
100100
options: {
101101
quality?: number
102102
lossless?: Boolean
@@ -107,7 +107,7 @@ type avif = {
107107
}
108108

109109
type heif = {
110-
format: 'heif',
110+
format: 'heif'
111111
options: {
112112
compression?: string
113113
quality?: number
@@ -139,5 +139,20 @@ export type ConverterOptions = {
139139
withoutReduction?: Boolean
140140
fastShrinkOnLoad?: Boolean
141141
}
142-
format?: 'jpeg' | 'jpg' | 'png' | 'gif' | 'webp' | 'avif' | 'heif' | 'tiff' | 'raw' | jpeg | png | gif | webp | avif | heif
142+
format?:
143+
| 'jpeg'
144+
| 'jpg'
145+
| 'png'
146+
| 'gif'
147+
| 'webp'
148+
| 'avif'
149+
| 'heif'
150+
| 'tiff'
151+
| 'raw'
152+
| jpeg
153+
| png
154+
| gif
155+
| webp
156+
| avif
157+
| heif
143158
}

0 commit comments

Comments
 (0)