mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-16 12:04:12 +08:00

* build: use vue-tsc to generate dts * reduce inline type declaration * fix: type checking failed * apply suggestions from code review * address PR comments
13 lines
400 B
TypeScript
13 lines
400 B
TypeScript
import { withInstall } from '@element-plus/utils'
|
|
import DatePicker from './src/date-picker'
|
|
|
|
import type { SFCWithInstall } from '@element-plus/utils'
|
|
|
|
export const ElDatePicker: SFCWithInstall<typeof DatePicker> =
|
|
withInstall(DatePicker)
|
|
|
|
export default ElDatePicker
|
|
export * from './src/constants'
|
|
export * from './src/props/date-picker'
|
|
export type { DatePickerInstance } from './src/instance'
|