From dce4a8055a2d212a709ff861494dbd04b154ac19 Mon Sep 17 00:00:00 2001 From: Eatgrass Date: Mon, 28 Oct 2024 20:37:46 +0800 Subject: [PATCH] update param name --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 41c97061..e89f9cdb 100644 --- a/index.d.ts +++ b/index.d.ts @@ -29,7 +29,7 @@ declare module '@dagrejs/dagre' { setEdge(params: Edge, value?: string | { [key: string]: any }): Graph; setEdge(sourceId: string, targetId: string, value?: string | Label, name?: string): Graph; - children(v: string): string[]; + children(parentName: string): string[]; hasNode(name: string): boolean; neighbors(name: string): Array> | undefined; node(id: string | Label): Node;