From 00e58d84f38773742e2a4d72ee7153c0ed407828 Mon Sep 17 00:00:00 2001 From: Phil Scott Date: Sat, 18 Jun 2016 23:22:10 -0400 Subject: [PATCH] d3 - Adds function type to d3.layout.partition (#9668) interface Partition was missing it's function type. --- d3/d3.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/d3/d3.d.ts b/d3/d3.d.ts index 880e379a92..6d4b43c0dc 100644 --- a/d3/d3.d.ts +++ b/d3/d3.d.ts @@ -3064,6 +3064,8 @@ declare namespace d3 { } export interface Partition { + (root: T): T[]; + nodes(root: T): T[]; links(nodes: T[]): partition.Link[];