diff --git a/packages/components/time-picker/index.ts b/packages/components/time-picker/index.ts index 92781a9ca0..ea0b637cc0 100644 --- a/packages/components/time-picker/index.ts +++ b/packages/components/time-picker/index.ts @@ -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 & + 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'