17782: removes linter warnings for cwl-svg code.
[arvados-workbench2.git] / src / lib / cwl-svg / plugins / port-drag / port-drag.ts
index 10f30e075225da803c8da91e875f384b96f7febb..e5d11e3a13a022763fe331f16db158b643b07b7f 100644 (file)
@@ -265,7 +265,7 @@ export class SVGPortDragPlugin extends PluginBase {
     private updateEdge(fromX: number, fromY: number, toX: number, toY: number): void {
         const subEdges = this.edgeGroup!.children as HTMLCollectionOf<SVGPathElement>;
 
-        for (let subEdge of <any>subEdges) {
+        for (let subEdge of subEdges as any) {
 
             const path = Workflow.makeConnectionPath(
                 fromX,