Fixed d3.min to accept an Array of any-type as d3.max

This commit is contained in:
chaosmail
2013-07-26 17:23:15 +02:00
parent 0935f3b2e6
commit ecb8e18f7a

2
d3/d3.d.ts vendored
View File

@@ -225,7 +225,7 @@ declare module D3 {
* @param arr Array to search
* @param map Accsessor function
*/
min: (arr: number[], map?: (v: any) => any) => number;
min: (arr: any[], map?: (v: any) => any) => number;
/**
* Find the maximum value in an array
*