mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -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> = [];
|
||||
|
||||
// @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 = '!';
|
||||
|
|
Loading…
Reference in a new issue