mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
TypeScript: chromaSubsampling can be undefined (#4191)
This commit is contained in:
parent
2474bd4163
commit
ab65b7a0f1
2
lib/index.d.ts
vendored
2
lib/index.d.ts
vendored
@ -1069,7 +1069,7 @@ declare namespace sharp {
|
||||
/** Number of pixels per inch (DPI), if present */
|
||||
density?: number | undefined;
|
||||
/** String containing JPEG chroma subsampling, 4:2:0 or 4:4:4 for RGB, 4:2:0:4 or 4:4:4:4 for CMYK */
|
||||
chromaSubsampling: string;
|
||||
chromaSubsampling?: string | undefined;
|
||||
/** Boolean indicating whether the image is interlaced using a progressive scan */
|
||||
isProgressive?: boolean | undefined;
|
||||
/** Number of pages/frames contained within the image, with support for TIFF, HEIF, PDF, animated GIF and animated WebP */
|
||||
|
Loading…
x
Reference in New Issue
Block a user