mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-29 05:06:43 +02:00
Fix lint issues
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import type { Node } from '$root/rendering-util/types.d.ts';
|
import type { Node, RectOptions } from '$root/rendering-util/types.d.ts';
|
||||||
import { drawRect } from './drawRect.js';
|
import { drawRect } from './drawRect.js';
|
||||||
|
|
||||||
export const state = async (parent: SVGAElement, node: Node) => {
|
export const state = async (parent: SVGAElement, node: Node) => {
|
||||||
@@ -6,6 +6,6 @@ export const state = async (parent: SVGAElement, node: Node) => {
|
|||||||
rx: 5,
|
rx: 5,
|
||||||
ry: 5,
|
ry: 5,
|
||||||
classes: 'flowchart-node',
|
classes: 'flowchart-node',
|
||||||
};
|
} as RectOptions;
|
||||||
return drawRect(parent, node, options);
|
return drawRect(parent, node, options);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user