mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-10 11:50:49 +08:00
Fixed: D3.Layout.TreeLayout.nodes() returns Array<GraphNode> instead of TreeLayout
This commit is contained in:
1 parent
44ae7bd485
commit
d0d8d7887c
1 file changed
+1
-1
Vendored
+1
-1
@@ -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