From 2cce02bc828458775c86bf7845e6a7dfca3f3df2 Mon Sep 17 00:00:00 2001 From: Audrey Date: Thu, 22 May 2014 11:51:11 -0400 Subject: [PATCH] Update signature of call target for selection.call Per https://github.com/mbostock/d3/wiki/Selections#call --- 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 f6f3f9d044..2225db5fc6 100644 --- a/d3/d3.d.ts +++ b/d3/d3.d.ts @@ -767,7 +767,7 @@ declare module D3 { //(filter: string): UpdateSelection; }; - call(callback: (selection: Selection) => void ): Selection; + call(callback: (selection: Selection, ...args: any[]) => void, ...args: any[]): Selection; each(eachFunction: (data: any, index: number) => any): Selection; on: { (type: string): (data: any, index: number) => any;