mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Adding missing methods from SyntheticEvent
This commit is contained in:
2
react/react.d.ts
vendored
2
react/react.d.ts
vendored
@@ -278,6 +278,8 @@ declare namespace __React {
|
||||
preventDefault(): void;
|
||||
stopPropagation(): void;
|
||||
persist(): void;
|
||||
isDefaultPrevented(): boolean;
|
||||
isPropagationStopped(): boolean;
|
||||
target: EventTarget;
|
||||
timeStamp: Date;
|
||||
type: string;
|
||||
|
||||
Reference in New Issue
Block a user