Add support for ArrayBuffer input (#3548)

This commit is contained in:
Jérémy Lal
2023-02-05 10:45:17 +01:00
committed by GitHub
parent 4798d9da64
commit 9608f219bd
6 changed files with 37 additions and 2 deletions

1
lib/index.d.ts vendored
View File

@@ -29,6 +29,7 @@ declare function sharp(options?: sharp.SharpOptions): sharp.Sharp;
declare function sharp(
input?:
| Buffer
| ArrayBuffer
| Uint8Array
| Uint8ClampedArray
| Int8Array