From d2f3b1891ceadd11f8cd57350fcda42a2a2562e7 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Wed, 28 Aug 2019 17:49:56 +0200 Subject: [PATCH] :shirt: Fix TypeScript issue --- packages/nodes-base/nodes/EditImage.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/EditImage.node.ts b/packages/nodes-base/nodes/EditImage.node.ts index 27eebdf4e4..eba7d6cd76 100644 --- a/packages/nodes-base/nodes/EditImage.node.ts +++ b/packages/nodes-base/nodes/EditImage.node.ts @@ -552,7 +552,7 @@ export class EditImage implements INodeType { return new Promise((resolve, reject) => { gmInstance - .toBuffer((error: Error, buffer: Buffer) => { + .toBuffer((error: Error | null, buffer: Buffer) => { if (error) { return reject(error); }