From 4e6158da8bcaeb99e01f260c2ae0c4aafde9b532 Mon Sep 17 00:00:00 2001 From: Samuel Lai Date: Tue, 7 Jan 2014 19:30:07 +1100 Subject: [PATCH] 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. --- d3/d3.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d3/d3.d.ts b/d3/d3.d.ts index fb20a6d10..0c0be2178 100644 --- a/d3/d3.d.ts +++ b/d3/d3.d.ts @@ -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 *