Fix use of React.SyntheticEvent

This commit is contained in:
Mohamed Hegazy
2016-07-13 22:03:50 -07:00
parent 7ca36265b7
commit 1848a0de40
+1 -1
View File
@@ -49,7 +49,7 @@ declare namespace reactInputCalendar {
/**
* Set a function that will be triggered the when input field is blurred. It will return the event and the date in the props.computableFormat format.
*/
onBlur?: (event: React.SyntheticEvent, computableDate: string) => void;
onBlur?: (event: React.SyntheticEvent<ReactInputCalendar>, computableDate: string) => void;
/**
* Define state when date picker would close once the user has clicked on a date.
*/