mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-24 11:29:30 +08:00
Adding descriptor support for EventSimulator
It actually takes either a DOM Element or a React Descriptor.
This commit is contained in:
Vendored
+1
@@ -131,6 +131,7 @@ declare module React {
|
||||
|
||||
export interface EventSimulator {
|
||||
(element: Element, eventData?: SyntheticEventData): void;
|
||||
(descriptor: Descriptor<any>, eventData?: SyntheticEventData): void;
|
||||
}
|
||||
|
||||
export interface Simulate {
|
||||
|
||||
Reference in New Issue
Block a user