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;