File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ declare function sharpOptimizeImages ( params : SharpOptimizeImagesInputTypes ) : internal . Transform
2+
3+ interface SharpOptimizeImagesInputTypes {
4+ gif : SharpOptimizeImagesTypesParams
5+ png : SharpOptimizeImagesTypesParams
6+ jpg : SharpOptimizeImagesTypesParams
7+ jpeg : SharpOptimizeImagesTypesParams
8+ webp : SharpOptimizeImagesTypesParams
9+ avif : SharpOptimizeImagesTypesParams
10+ tiff : SharpOptimizeImagesTypesParams
11+ heif : SharpOptimizeImagesTypesParams
12+ }
13+
14+ interface SharpOptimizeImagesTypesParams {
15+ quality ?: number
16+ lossless ?: boolean
17+ progressive ?: boolean
18+ chromaSubsampling ?: string
19+ mozjpeg ?: boolean
20+ effort ?: number
21+ reuse ?: boolean
22+ delay ?: number | Array . < number >
23+ force ?: boolean
24+ }
25+
26+ export {
27+ sharpOptimizeImages ,
28+ }
You can’t perform that action at this time.
0 commit comments