refactor: Upgrade to TypeScript 5.5 (no-changelog) (#9828)

This commit is contained in:
Iván Ovejero
2024-06-24 17:49:59 +02:00
committed by GitHub
parent 1ba656ef4a
commit e33a47311f
16 changed files with 321 additions and 322 deletions

View File

@@ -85,6 +85,7 @@ export class ActiveWorkflows {
if (triggerResponse !== undefined) {
// If a response was given save it
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
this.activeWorkflows[workflowId].triggerResponses!.push(triggerResponse);
}
} catch (e) {
@@ -105,6 +106,7 @@ export class ActiveWorkflows {
for (const pollNode of pollingNodes) {
try {
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
this.activeWorkflows[workflowId].pollResponses!.push(
await this.activatePolling(
pollNode,

View File

@@ -3679,7 +3679,7 @@ export function getExecuteFunctions(
});
}
return inputData[inputName][inputIndex] as INodeExecutionData[];
return inputData[inputName][inputIndex];
},
getInputSourceData: (inputIndex = 0, inputName = 'main') => {
if (executeData?.source === null) {