Merge pull request #2233 from audsKu/patch-3

Update signature of call target for selection.call
This commit is contained in:
Masahiro Wakame
2014-05-26 11:10:14 +09:00
Vendored
+1 -1
View File
@@ -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;