mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-26 11:12:19 +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:
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