diff --git a/src/PickerInput/RangePicker.tsx b/src/PickerInput/RangePicker.tsx index 099cfb8d3..c509e8a00 100644 --- a/src/PickerInput/RangePicker.tsx +++ b/src/PickerInput/RangePicker.tsx @@ -64,7 +64,10 @@ export interface BaseRangePickerProps // Value value?: RangeValueType | null; defaultValue?: RangeValueType; - onChange?: (dates: NoUndefinedRangeValueType, dateStrings: [string, string]) => void; + onChange?: ( + dates: NoUndefinedRangeValueType | null, + dateStrings: [string, string], + ) => void; onCalendarChange?: ( dates: NoUndefinedRangeValueType, dateStrings: [string, string],