Skip to content

Commit fd83a9a

Browse files
authored
fix(typings): invalid Image class static method name (#28)
1 parent 84b3ff7 commit fd83a9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ImageScript.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export class Image {
129129

130130
async encodeWEBP(quality?: null | number): Promise<Uint8Array>;
131131

132-
static async encode(data: Buffer | Uint8Array): Promise<Image>
132+
static async decode(data: Buffer | Uint8Array): Promise<Image>
133133

134134
static get SVG_MODE_SCALE(): number;
135135

0 commit comments

Comments
 (0)