refactor(core): clear @ts-ignore from workflow and core packages (#4467)

* 📘 Clear all `@ts-ignore` comments from workflow package

* 👕 Default to error with package-level overrides

* refactor(core): clear all `@ts-ignore` comments from core package (#4473)

👕 Clear all `@ts-ignore` comments from core package

* ✏️ Update comment
This commit is contained in:
Iván Ovejero
2022-10-31 12:45:34 +01:00
committed by GitHub
parent 46905fd2cb
commit ec5ef0c50d
15 changed files with 87 additions and 62 deletions

View File

@@ -156,7 +156,6 @@ export class WorkflowExecute {
startNodes: string[],
destinationNode: string,
pinData?: IPinData,
// @ts-ignore
): PCancelable<IRun> {
let incomingNodeConnections: INodeConnections | undefined;
let connection: IConnection;
@@ -783,7 +782,6 @@ export class WorkflowExecute {
gotCancel = true;
}
// @ts-ignore
if (gotCancel) {
return Promise.resolve();
}
@@ -911,7 +909,6 @@ export class WorkflowExecute {
}
for (let tryIndex = 0; tryIndex < maxTries; tryIndex++) {
// @ts-ignore
if (gotCancel) {
return Promise.resolve();
}