28 lines
919 B
Diff
28 lines
919 B
Diff
diff --git a/node_modules/@types/sharp/index.d.ts b/node_modules/@types/sharp/index.d.ts
|
|
index 3210332..4808af0 100755
|
|
--- a/node_modules/@types/sharp/index.d.ts
|
|
+++ b/node_modules/@types/sharp/index.d.ts
|
|
@@ -23,7 +23,21 @@ import { Duplex } from "stream";
|
|
* @returns A sharp instance that can be used to chain operations
|
|
*/
|
|
declare function sharp(options?: sharp.SharpOptions): sharp.Sharp;
|
|
-declare function sharp(input?: string | Buffer, options?: sharp.SharpOptions): sharp.Sharp;
|
|
+declare function sharp(
|
|
+ input?:
|
|
+ | Buffer
|
|
+ | Uint8Array
|
|
+ | Uint8ClampedArray
|
|
+ | Int8Array
|
|
+ | Uint16Array
|
|
+ | Int16Array
|
|
+ | Uint32Array
|
|
+ | Int32Array
|
|
+ | Float32Array
|
|
+ | Float64Array
|
|
+ | string,
|
|
+ options?: sharp.SharpOptions
|
|
+): sharp.Sharp;
|
|
|
|
declare namespace sharp {
|
|
/** Object containing nested boolean values representing the available input and output formats/methods. */
|