mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +08:00
Liberalize type of d3.event. Addresses #4590.
This commit is contained in:
1 parent
066819c65f
commit
cf09bf76ce
2 files changed
+23
-4
No files matched your search
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