diff --git a/index.d.ts b/index.d.ts index e24041c4..3c922e2a 100644 --- a/index.d.ts +++ b/index.d.ts @@ -48,7 +48,10 @@ declare module "react-nice-dates" { format?: string; } - type DateRangeFocus = 'startDate' | 'endDate'; + export enum DateRangeFocus { + startDate = 'startDate', + endDate = 'endDate' + } interface DateRangePickerChildrenProps { startDateInputProps: InputProps;