typing correct

This commit is contained in:
kuitos 2018-11-09 19:25:37 +08:00 committed by 偏右
parent 0c5bbf04f4
commit 2bb6369e3e

View File

@ -42,7 +42,7 @@ export interface DatePickerProps extends PickerProps, SinglePickerProps {
disabledSeconds?: () => number[],
};
onOpenChange?: (status: boolean) => void;
onOk?: (selectedTime: moment.Moment) => void;
onOk?: (selectedTime: RangePickerValue) => void;
placeholder?: string;
}