From d0d8d7887c4edcd4da73b55ecfffe2651360cddd Mon Sep 17 00:00:00 2001 From: Roland Zwaga Date: Tue, 29 Jul 2014 11:35:42 +0200 Subject: [PATCH] Fixed: D3.Layout.TreeLayout.nodes() returns Array instead of TreeLayout --- d3/d3.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d3/d3.d.ts b/d3/d3.d.ts index 598cd9f34..80de53804 100755 --- a/d3/d3.d.ts +++ b/d3/d3.d.ts @@ -1128,7 +1128,7 @@ declare module D3 { /** * Runs the tree layout */ - nodes(root: GraphNode): TreeLayout; + nodes(root: GraphNode): Array; /** * 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 */