mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 01:41:20 +08:00
272b8c76c8
* fix: some components miss install type * fix: some components miss install type
12 lines
321 B
TypeScript
12 lines
321 B
TypeScript
import DatePicker from './src/date-picker'
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
|
|
|
const _DatePicker: SFCWithInstall<typeof DatePicker> = DatePicker as SFCWithInstall<typeof DatePicker>
|
|
|
|
_DatePicker.install = app => {
|
|
app.component(_DatePicker.name, _DatePicker)
|
|
}
|
|
|
|
|
|
export default _DatePicker
|