1 parent d3e3bfa commit ae1cc70Copy full SHA for ae1cc70
src/types.ts
@@ -3,7 +3,7 @@ import { DeflateFunctionOptions } from 'pako';
3
4
export { DeflateFunctionOptions };
5
6
-export type PNGDataArray = Uint8Array | Uint16Array;
+export type PNGDataArray = Uint8Array | Uint8ClampedArray | Uint16Array;
7
8
export type DecoderInputType = IOBuffer | ArrayBufferLike | ArrayBufferView;
9
0 commit comments