Fixed: D3.Layout.TreeLayout.nodes() returns Array<GraphNode> instead of TreeLayout

This commit is contained in:
Roland Zwaga
2014-07-29 11:35:42 +02:00
parent 44ae7bd485
commit d0d8d7887c

2
d3/d3.d.ts vendored
View File

@@ -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
*/