17782: removes linter warnings for cwl-svg code.
[arvados-workbench2.git] / src / lib / cwl-svg / utils / geometry.ts
index 11b066d97d5269126a7c0e38a19daa6fd3c0510f..348a7e200e327a03e473a2a7fc10457ad10737b7 100644 (file)
@@ -16,7 +16,7 @@ export class Geometry {
             } else {
                 // node still has parent elements
                 const {e, f} = node.transform.baseVal.getItem(0).matrix;
-                return getPosition(<SVGGElement>node.parentNode, e + addE, f + addF);
+                return getPosition(node.parentNode as SVGGElement, e + addE, f + addF);
             }
         };