mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-06 17:29:08 +00:00
Fixed: D3.Layout.TreeLayout.nodes() returns Array<GraphNode> instead of TreeLayout
This commit is contained in:
2
d3/d3.d.ts
vendored
2
d3/d3.d.ts
vendored
@@ -1128,7 +1128,7 @@ declare module D3 {
|
||||
/**
|
||||
* Runs the tree layout
|
||||
*/
|
||||
nodes(root: GraphNode): TreeLayout;
|
||||
nodes(root: GraphNode): Array<GraphNode>;
|
||||
/**
|
||||
* Given the specified array of nodes, such as those returned by nodes, returns an array of objects representing the links from parent to child for each node
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user