diff --git a/types/react-datepicker/index.d.ts b/types/react-datepicker/index.d.ts index 24524c1ba8..8e81fa4e61 100644 --- a/types/react-datepicker/index.d.ts +++ b/types/react-datepicker/index.d.ts @@ -49,7 +49,7 @@ export interface ReactDatePickerProps { forceShowMonthNavigation?: boolean; formatWeekDay?(date: Date): string; formatWeekNumber?(date: Date): string | number; - highlightDates?: HighlightDates[]; + highlightDates?: (Date|HighlightDates)[]; id?: string; includeDates?: Date[]; includeTimes?: Date[];