Alois Klink
2024-10-21 22:06:30 +09:00
parent 606ecf8990
commit 4bc70b7325
2 changed files with 4 additions and 8 deletions

View File

@@ -3,7 +3,7 @@ import ELK from 'elkjs/lib/elk.bundled.js';
import type { InternalHelpers, LayoutData, RenderOptions, SVG, SVGGroup } from 'mermaid';
import { type TreeData, findCommonAncestor } from './find-common-ancestor.js';
type Node = LayoutData['nodes'][0];
type Node = LayoutData['nodes'][number];
interface NodeWithVertex extends Omit<Node, 'domId'> {
children?: unknown[];