mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-12 10:45:10 +08:00
fix(components): [time-picker] improve typings (#4810)
This commit is contained in:
parent
d28d0701d7
commit
7ea5c85138
@ -64,7 +64,9 @@ export const timePickerDefaultProps = {
|
|||||||
default: () => ({}),
|
default: () => ({}),
|
||||||
},
|
},
|
||||||
modelValue: {
|
modelValue: {
|
||||||
type: [Date, Array, String] as PropType<string | Date | (number | Date)[]>,
|
type: [Date, Array, String, Number] as PropType<
|
||||||
|
number | string | Date | (number | string | Date)[]
|
||||||
|
>,
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
rangeSeparator: {
|
rangeSeparator: {
|
||||||
|
Loading…
Reference in New Issue
Block a user