🐛 Fix typescript issues

This commit is contained in:
dali 2021-02-23 15:33:43 +01:00
parent 256711737c
commit ac9b743233

View file

@ -966,6 +966,7 @@ export class EditImage implements INodeType {
const cleanupFunctions: Array<() => void> = [];
// @ts-ignore
let gmInstance: gm.State;
const requiredOperationParameters: {
@ -1134,6 +1135,7 @@ export class EditImage implements INodeType {
const resizeOption = operationData.resizeOption as string;
// By default use "maximumArea"
// @ts-ignore
let option: gm.ResizeOption = '@';
if (resizeOption === 'ignoreAspectRatio') {
option = '!';