mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +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: () => ({}),
|
||||
},
|
||||
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: '',
|
||||
},
|
||||
rangeSeparator: {
|
||||
|
Loading…
Reference in New Issue
Block a user