mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
🐛 Fix typescript issues
This commit is contained in:
parent
256711737c
commit
ac9b743233
|
@ -966,6 +966,7 @@ export class EditImage implements INodeType {
|
||||||
|
|
||||||
const cleanupFunctions: Array<() => void> = [];
|
const cleanupFunctions: Array<() => void> = [];
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
let gmInstance: gm.State;
|
let gmInstance: gm.State;
|
||||||
|
|
||||||
const requiredOperationParameters: {
|
const requiredOperationParameters: {
|
||||||
|
@ -1134,6 +1135,7 @@ export class EditImage implements INodeType {
|
||||||
const resizeOption = operationData.resizeOption as string;
|
const resizeOption = operationData.resizeOption as string;
|
||||||
|
|
||||||
// By default use "maximumArea"
|
// By default use "maximumArea"
|
||||||
|
// @ts-ignore
|
||||||
let option: gm.ResizeOption = '@';
|
let option: gm.ResizeOption = '@';
|
||||||
if (resizeOption === 'ignoreAspectRatio') {
|
if (resizeOption === 'ignoreAspectRatio') {
|
||||||
option = '!';
|
option = '!';
|
||||||
|
|
Loading…
Reference in a new issue