more tslint changes

This commit is contained in:
quansenB 2019-11-03 21:49:49 +01:00
parent bc6acaff72
commit 7da53ad943
7 changed files with 13 additions and 13 deletions

View file

@ -42,7 +42,7 @@ export const contactOperations = [
default: 'create',
description: 'The operation to perform.',
},
] as INodeProperties[]
] as INodeProperties[];
export const contactFields = [
// ----------------------------------
@ -348,4 +348,4 @@ export const contactFields = [
default: 100,
description: 'How many results to return.',
},
] as INodeProperties[]
] as INodeProperties[];

View file

@ -55,7 +55,7 @@ export const dealOperations = [
description: 'The operation to perform.',
},
] as INodeProperties[]
] as INodeProperties[];
export const dealFields = [
// ----------------------------------
@ -526,4 +526,4 @@ export const dealFields = [
description: 'The content of the deal note',
},
] as INodeProperties[]
] as INodeProperties[];

View file

@ -42,7 +42,7 @@ export const ecomCustomerOperations = [
default: 'create',
description: 'The operation to perform.',
},
] as INodeProperties[]
] as INodeProperties[];
export const ecomCustomerFields = [
// ----------------------------------
@ -287,4 +287,4 @@ export const ecomCustomerFields = [
default: 100,
description: 'How many results to return.',
},
] as INodeProperties[]
] as INodeProperties[];

View file

@ -44,7 +44,7 @@ export const ecomOrderOperations = [
default: 'create',
description: 'The operation to perform.',
},
] as INodeProperties[]
] as INodeProperties[];
export const ecomOrderFields = [
// ----------------------------------
@ -713,4 +713,4 @@ export const ecomOrderFields = [
default: 100,
description: 'How many results to return.',
},
] as INodeProperties[]
] as INodeProperties[];

View file

@ -32,7 +32,7 @@ export const ecomOrderProductsOperations = [
default: 'getAll',
description: 'The operation to perform.',
},
] as INodeProperties[]
] as INodeProperties[];
export const ecomOrderProductsFields = [
// ----------------------------------
@ -121,4 +121,4 @@ export const ecomOrderProductsFields = [
default: 100,
description: 'How many results to return.',
},
] as INodeProperties[]
] as INodeProperties[];

View file

@ -105,12 +105,12 @@ export async function activeCampaignApiRequestAllItems(this: IHookFunctions | IE
if (dataKey === undefined) {
returnData.push.apply(returnData, responseData);
if (returnData != undefined) {
if (returnData !== undefined) {
itemsReceived += returnData.length;
}
} else {
returnData.push.apply(returnData, responseData[dataKey]);
if (responseData[dataKey] != undefined) {
if (responseData[dataKey] !== undefined) {
itemsReceived += responseData[dataKey].length;
}
}

View file

@ -170,4 +170,4 @@ export const allCurrencies = [
{ name: 'South African Rand', value: 'zar' },
{ name: 'Zambian Kwacha', value: 'zmw' },
{ name: 'Zimbabwean Dollar', value: 'zwl' }
]
];