diff --git a/index.d.ts b/index.d.ts index 2c3347b7..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(parentName: string): string | undefined; + children(parentName: string): string[]; hasNode(name: string): boolean; neighbors(name: string): Array> | undefined; node(id: string | Label): Node;