mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Update signature of call target for selection.call
Per https://github.com/mbostock/d3/wiki/Selections#call
This commit is contained in:
2
d3/d3.d.ts
vendored
2
d3/d3.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user