chore: Suppress type errors

Should fix properly
This commit is contained in:
Sidharth Vinod
2024-05-23 10:06:42 +05:30
parent 2377a0d753
commit 52e0dc6464
10 changed files with 18 additions and 70 deletions

View File

@@ -1,4 +1,3 @@
import { log } from '$root/logger.js';
import { updateNodeBounds } from './util.js';
import intersect from '../intersect/index.js';
import type { Node } from '$root/rendering-util/types.d.ts';
@@ -27,6 +26,7 @@ export const forkJoin = (parent: SVG, node: Node, dir: string) => {
let shape;
if (node.useRough) {
// @ts-ignore
const rc = rough.svg(shapeSvg);
const roughNode = rc.rectangle(x, y, width, height, solidStateFill(lineColor));
shape = shapeSvg.insert(() => roughNode);