Merge branch '17782-react-scripts-ts-migration' into main. Closes #17782
[arvados-workbench2.git] / src / lib / cwl-svg / plugins / arrange / arrange.ts
index db5ac90be27547aaa3213dd80c52497c606b0c8b..34efd6f399bd9fdd04e53881752fa38903a5cbcc 100644 (file)
@@ -5,9 +5,7 @@ import {GraphChange, SVGPlugin}                                     from '../plu
 import {
     StepModel,
     WorkflowInputParameterModel,
-    WorkflowOutputParameterModel,
-    WorkflowStepInputModel,
-    WorkflowStepOutputModel
+    WorkflowOutputParameterModel
 } from "cwlts/models";
 
 export class SVGArrangePlugin implements SVGPlugin {
@@ -249,7 +247,7 @@ export class SVGArrangePlugin implements SVGPlugin {
         }
     } {
         const distributionArea = {width: 0, height: 0};
-        const columnDimensions = [];
+        const columnDimensions: any[] = [];
 
         for (let i = 1; i < columns.length; i++) {
 
@@ -363,7 +361,7 @@ export class SVGArrangePlugin implements SVGPlugin {
             return 1;
         }
 
-        const inputPathLengths = [];
+        const inputPathLengths: any[] = [];
 
         for (let i = 0; i < node.inputs.length; i++) {
             const el = nodeGraph[node.inputs[i]];