Skip to content

Commit df0127c

Browse files
authored
fix wrong type for quantization_colors in png options
1 parent 498b052 commit df0127c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/png-options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type PngOptions = {
1919
*
2020
* Should be between 2 and 256.
2121
*/
22-
quantization_colors?: boolean;
22+
quantization_colors?: number;
2323
};
2424

2525
/**

0 commit comments

Comments
 (0)