d3 - Adds function type to d3.layout.partition<T> (#9668)

interface Partition<T> was missing it's function type.
This commit is contained in:
Phil Scott
2016-06-19 12:22:10 +09:00
committed by Masahiro Wakame
parent 279acdc785
commit 00e58d84f3
Vendored
+2
View File
@@ -3064,6 +3064,8 @@ declare namespace d3 {
}
export interface Partition<T extends partition.Node> {
(root: T): T[];
nodes(root: T): T[];
links(nodes: T[]): partition.Link<T>[];