mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Upgrade to TypeScript 5.5 (no-changelog) (#9828)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user