mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* chore(components): [date-picker] export instasnce type * move DatePickerInstance to instance.ts
13 lines
339 B
TypeScript
13 lines
339 B
TypeScript
import type { ComponentPublicInstance } from 'vue'
|
|
import type { DatePickerProps } from './props/date-picker'
|
|
|
|
export type DatePickerExpose = {
|
|
focus: (focusStartInput: boolean) => void
|
|
handleOpen: () => void
|
|
handleClose: () => void
|
|
}
|
|
export type DatePickerInstance = ComponentPublicInstance<
|
|
DatePickerProps,
|
|
DatePickerExpose
|
|
>
|