mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-09 11:40:16 +08:00
Adding descriptor support for EventSimulator
It actually takes either a DOM Element or a React Descriptor.
This commit is contained in:
1 parent
4598e7d76b
commit
ef170ec3f6
1 file changed
+1
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