Adding missing methods from SyntheticEvent

This commit is contained in:
Ivo Stratev
2016-08-13 18:38:52 +03:00
committed by GitHub
parent 67557f18a8
commit b5b1fd2826

2
react/react.d.ts vendored
View File

@@ -278,6 +278,8 @@ declare namespace __React {
preventDefault(): void;
stopPropagation(): void;
persist(): void;
isDefaultPrevented(): boolean;
isPropagationStopped(): boolean;
target: EventTarget;
timeStamp: Date;
type: string;