types(DatePicker): fix ts def (#11813)
This commit is contained in:
@@ -54,7 +54,7 @@ export const genOptions = <T extends string>(
|
|||||||
return filter ? filter(type, options) : options;
|
return filter ? filter(type, options) : options;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const formatValueRange = (values: string[], columns: PickerOption[]) =>
|
export const formatValueRange = (values: string[], columns: PickerOption[][]) =>
|
||||||
values.map((value, index) => {
|
values.map((value, index) => {
|
||||||
const column = columns[index];
|
const column = columns[index];
|
||||||
if (column.length) {
|
if (column.length) {
|
||||||
|
|||||||
Reference in New Issue
Block a user