mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-09 18:39:41 +02:00
chore: Ignore broken types
This commit is contained in:
@@ -21,6 +21,7 @@ export const filledCircle = (
|
|||||||
const radius = 7;
|
const radius = 7;
|
||||||
const { cssStyles } = node;
|
const { cssStyles } = node;
|
||||||
|
|
||||||
|
// @ts-expect-error shapeSvg d3 class is incorrect?
|
||||||
const rc = rough.svg(shapeSvg);
|
const rc = rough.svg(shapeSvg);
|
||||||
const { nodeBorder } = themeVariables;
|
const { nodeBorder } = themeVariables;
|
||||||
const options = userNodeOverrides(node, { fillStyle: 'solid' });
|
const options = userNodeOverrides(node, { fillStyle: 'solid' });
|
||||||
|
@@ -29,6 +29,7 @@ export const lightningBolt = (parent: SVG, node: Node) => {
|
|||||||
{ x: 2 * gap, y: height - gap / 2 },
|
{ x: 2 * gap, y: height - gap / 2 },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// @ts-expect-error shapeSvg d3 class is incorrect?
|
||||||
const rc = rough.svg(shapeSvg);
|
const rc = rough.svg(shapeSvg);
|
||||||
const options = userNodeOverrides(node, {});
|
const options = userNodeOverrides(node, {});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user