diff --git a/gm/gm.d.ts b/gm/gm.d.ts index 9f7d027f1..964decdee 100644 --- a/gm/gm.d.ts +++ b/gm/gm.d.ts @@ -10,7 +10,7 @@ declare module "gm" { function m(image: string): m.State; function m(stream:NodeJS.ReadableStream, image?: string): m.State; - function m(stream:Buffer, image?: string): m.State; + function m(buffer:Buffer, image?: string): m.State; function m(width:number, height:number, color?:string): m.State; namespace m {