diff --git a/components/date-picker/interface.tsx b/components/date-picker/interface.tsx index f9390082cef8..669f3406056f 100644 --- a/components/date-picker/interface.tsx +++ b/components/date-picker/interface.tsx @@ -67,7 +67,7 @@ export interface RangePickerProps extends PickerProps { defaultPickerValue?: RangePickerValue; onChange?: (dates: RangePickerValue, dateStrings: [string, string]) => void; onCalendarChange?: (dates: RangePickerValue, dateStrings: [string, string]) => void; - onOk?: (selectedTime: moment.Moment) => void; + onOk?: (selectedTime: moment.Moment[]) => void; showTime?: TimePickerProps | boolean; ranges?: { [range: string]: RangePickerPresetRange;