mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
fix(components): [date-picker] modelValue typo (#15080)
* fix(components): [date-picker] modelValue typo * fix(components): [date-picker] docs --------- Co-authored-by: xiaochenchen <xiaochen.chen@igg.com> Co-authored-by: btea <2356281422@qq.com>
This commit is contained in:
parent
9bd53e6079
commit
db9590e1f0
@ -13,7 +13,7 @@ import type { Dayjs } from 'dayjs'
|
||||
|
||||
export type SingleOrRange<T> = T | [T, T]
|
||||
export type DateModelType = number | string | Date
|
||||
export type ModelValueType = SingleOrRange<DateModelType>
|
||||
export type ModelValueType = SingleOrRange<DateModelType> | string[]
|
||||
export type DayOrDays = SingleOrRange<Dayjs>
|
||||
export type DateOrDates = SingleOrRange<Date>
|
||||
export type UserInput = SingleOrRange<string | null>
|
||||
|
Loading…
Reference in New Issue
Block a user