From 08c6ec2758356090b71dab3757cd77e786339c19 Mon Sep 17 00:00:00 2001 From: Tyler Haas Date: Mon, 17 Dec 2018 11:32:09 -0700 Subject: [PATCH] fix whitespace errors --- types/react-datepicker/index.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/types/react-datepicker/index.d.ts b/types/react-datepicker/index.d.ts index 5f07b253f3..e2870092dc 100644 --- a/types/react-datepicker/index.d.ts +++ b/types/react-datepicker/index.d.ts @@ -19,6 +19,10 @@ export function registerLocale(localeName: string, localeData: {}): void; export function setDefaultLocale(localeName: string): void; export function getDefaultLocale(): string; +interface HighlightDates { + [className: string]: Date[]; +} + export interface ReactDatePickerProps { adjustDateOnChange?: boolean; allowSameDay?: boolean; @@ -45,7 +49,7 @@ export interface ReactDatePickerProps { forceShowMonthNavigation?: boolean; formatWeekDay?(date: Date): string; formatWeekNumber?(date: Date): string | number; - highlightDates?: Date[]; + highlightDates?: Array; id?: string; includeDates?: Date[]; includeTimes?: Date[];