mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Fix lint issues
This commit is contained in:
parent
94512c0780
commit
a5d24e5da5
@ -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';
|
||||
|
||||
export const state = async (parent: SVGAElement, node: Node) => {
|
||||
@ -6,6 +6,6 @@ export const state = async (parent: SVGAElement, node: Node) => {
|
||||
rx: 5,
|
||||
ry: 5,
|
||||
classes: 'flowchart-node',
|
||||
};
|
||||
} as RectOptions;
|
||||
return drawRect(parent, node, options);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user