Skip to content

Commit

Permalink
Make callback optional for Jimp.rgbaToInt (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
HanKruiger committed May 15, 2020
1 parent 585c1ab commit 2f99663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/types/jimp.d.ts
Expand Up @@ -99,7 +99,7 @@ export interface JimpConstructors {
g: number,
b: number,
a: number,
cb: GenericCallback<number, any, this['prototype']>
cb?: GenericCallback<number, any, this['prototype']>
): number;
intToRGBA(i: number, cb?: GenericCallback<RGBA>): RGBA;
cssColorToHex(cssColor: string): number;
Expand Down

0 comments on commit 2f99663

Please sign in to comment.