From 948e47d9fb85830e168065ec6a38c3b84f8bc983 Mon Sep 17 00:00:00 2001 From: ink0rr Date: Sun, 16 Apr 2023 13:06:30 +0700 Subject: [PATCH] Fix invalid Image class static method name --- ImageScript.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ImageScript.d.ts b/ImageScript.d.ts index 5e9b776..85a7d9a 100644 --- a/ImageScript.d.ts +++ b/ImageScript.d.ts @@ -129,7 +129,7 @@ export class Image { async encodeWEBP(quality?: null | number): Promise; - static async encode(data: Buffer | Uint8Array): Promise + static async decode(data: Buffer | Uint8Array): Promise static get SVG_MODE_SCALE(): number;