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;