Update gm.d.ts

Supporting alternate constructors listed at https://github.com/aheckmann/gm#constructor
This commit is contained in:
Timothy Soehnlin
2016-03-28 09:25:50 -05:00
parent 80057d687a
commit e821f19879
Vendored
+3
View File
@@ -9,6 +9,9 @@ declare module "gm" {
import stream = require('stream');
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(width:number, height:number, color?:string): m.State;
namespace m {
export interface ClassOptions {