mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-23 18:26:39 +02:00
chore: resolve eslint warnings in packages/mermaid/src/diagrams/class/classDiagram-v2.ts
This commit is contained in:
@@ -13,9 +13,7 @@ export const diagram: DiagramDefinition = {
|
||||
renderer,
|
||||
styles,
|
||||
init: (cnf) => {
|
||||
if (!cnf.class) {
|
||||
cnf.class = {};
|
||||
}
|
||||
cnf.class ??= {};
|
||||
cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user