feat(components): [time-picker] supplement type for TimePickerInstance (#23536)

* chore(components): [time-picker] export TimePicker instance type

* Apply suggestion from @Dsaquel

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
This commit is contained in:
snowbitx
2026-01-29 09:05:57 +08:00
committed by GitHub
parent 487beafccd
commit c3654150f2

View File

@@ -5,6 +5,14 @@ import TimePickPanel from './src/time-picker-com/panel-time-pick.vue'
import type { SFCWithInstall } from '@element-plus/utils'
export type TimePickerInstance = InstanceType<typeof TimePicker> &
TimePickerExpose
export type TimePickerExpose = {
focus: () => void
blur: () => void
handleOpen: () => void
handleClose: () => void
}
export * from './src/utils'
export * from './src/constants'
export * from './src/common/props'