Skip to content

Commit

Permalink
Fix @types/sharp chromaSubsampling comment for AVIF
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle authored Nov 17, 2021
1 parent 22c9dda commit d4a0c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/sharp/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ declare namespace sharp {
lossless?: boolean | undefined;
/** CPU effort vs file size, 0 (slowest/smallest) to 9 (fastest/largest) (optional, default 5) */
speed?: number | undefined;
/** set to '4:4:4' to prevent chroma subsampling otherwise defaults to '4:2:0' chroma subsampling, requires libvips v8.11.0 (optional, default '4:2:0') */
/** set to '4:2:0' to use chroma subsampling, requires libvips v8.11.0 (optional, default '4:4:4') */
chromaSubsampling?: string;
}

Expand Down

0 comments on commit d4a0c57

Please sign in to comment.