From 8cd712adcc6c0211ad1b6a309ccafa8084a42bb7 Mon Sep 17 00:00:00 2001 From: Bert Verhelst Date: Thu, 26 Dec 2019 17:46:37 +0100 Subject: [PATCH] [gm]: Make modulate 2nd and 3rd param optional (#41211) According to the documentation the second and third option of .modulate() are optional: http://aheckmann.github.io/gm/docs.html#modulate --- types/gm/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/gm/index.d.ts b/types/gm/index.d.ts index 9a338142d2..9f3a429fde 100644 --- a/types/gm/index.d.ts +++ b/types/gm/index.d.ts @@ -182,7 +182,7 @@ declare namespace m { median(radius?: number): State; minify(factor: number): State; mode(mode: OperationMode | string): State; - modulate(b: number, s: number, h: number): State; + modulate(b: number, s?: number, h?: number): State; monitor(): State; monochrome(): State; montage(otherImg: string): State;