mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Update gm.d.ts
Supporting alternate constructors listed at https://github.com/aheckmann/gm#constructor
This commit is contained in:
Vendored
+3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user