diff --git a/types/react-native-calendars/index.d.ts b/types/react-native-calendars/index.d.ts index 402a3fff1a..e7a4f07ea4 100644 --- a/types/react-native-calendars/index.d.ts +++ b/types/react-native-calendars/index.d.ts @@ -169,8 +169,8 @@ export type CalendarMarkingProps = export interface DayComponentProps { date: DateObject; marking: false | Marking[]; - onPress: () => any; - onLongPress: () => any; + onPress: (date: DateObject) => any; + onLongPress: (date: DateObject) => any; state: '' | 'selected' | 'disabled' | 'today'; theme: CalendarTheme; }