mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-21 11:09:53 +08:00
d3.entries accepts objects, not arrays (but returns an array).
See example usage in the docs - https://github.com/mbostock/d3/wiki/Arrays#wiki-d3_entries.
This commit is contained in:
Vendored
+1
-1
@@ -212,7 +212,7 @@ declare module D3 {
|
||||
*
|
||||
* @param map Array of objects to get the key-value pairs from
|
||||
*/
|
||||
entries(map: any[]): any[];
|
||||
entries(map: any): any[];
|
||||
/**
|
||||
* merge multiple arrays into one array
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user