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-18 23:22:10 -04:00
committed by Masahiro Wakame
parent 279acdc785
commit 00e58d84f3

2
d3/d3.d.ts vendored
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>[];