👕 Fix TypeScript issue

This commit is contained in:
Jan Oberhauser 2019-08-28 17:49:56 +02:00
parent 65d2aba7c1
commit d2f3b1891c

View file

@ -552,7 +552,7 @@ export class EditImage implements INodeType {
return new Promise<INodeExecutionData>((resolve, reject) => {
gmInstance
.toBuffer((error: Error, buffer: Buffer) => {
.toBuffer((error: Error | null, buffer: Buffer) => {
if (error) {
return reject(error);
}