mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-11 12:00:27 +08:00
d3: Transition.call(...) defines wrong signature
The D3 definition file contains an error in the signature of Transition.call(...). The callback will be passed the transition object and it supports optional arguments similar to Selection.call(...).
This commit is contained in:
1 parent
bd0833a22e
commit
2b89a26bb0
1 file changed
+1
-1
Vendored
+1
-1
@@ -926,7 +926,7 @@ declare module D3 {
|
||||
(name: string, value: any, priority?: string): Transition;
|
||||
(name: string, valueFunction: (data: any, index: number) => any, priority?: string): Transition;
|
||||
};
|
||||
call(callback: (selection: Selection) => void ): Transition;
|
||||
call(callback: (transition: Transition, ...args: any[]) => void, ...args: any[]): Transition;
|
||||
/**
|
||||
* Select an element from the current document
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user