mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Merge pull request #801 from chaosmail/0.8
D3 (0.8) Fixed d3.min to accept an Array of any-type as d3.max
This commit is contained in:
Vendored
+1
-1
@@ -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) => number) => number;
|
||||
/**
|
||||
* Find the maximum value in an array
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user