mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Liberalize type of d3.event. Addresses #4590.
This commit is contained in:
Vendored
+7
-1
@@ -918,7 +918,13 @@ declare module d3 {
|
||||
}
|
||||
|
||||
/**
|
||||
* The current event's value. Use this variable in a handler registered with selection.on.
|
||||
* Interface for any and all d3 events.
|
||||
*/
|
||||
interface Event extends KeyboardEvent, MouseEvent {
|
||||
}
|
||||
|
||||
/**
|
||||
* The current event's value. Use this variable in a handler registered with `selection.on`.
|
||||
*/
|
||||
export var event: Event;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user