Skip to content

Commit 4e6158d

Browse files
author
Samuel Lai
committed
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.
1 parent 0bf4a78 commit 4e6158d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

d3/d3.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ declare module D3 {
212212
*
213213
* @param map Array of objects to get the key-value pairs from
214214
*/
215-
entries(map: any[]): any[];
215+
entries(map: any): any[];
216216
/**
217217
* merge multiple arrays into one array
218218
*

0 commit comments

Comments
 (0)