mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +08:00
272b8c76c8
* fix: some components miss install type * fix: some components miss install type
11 lines
291 B
TypeScript
11 lines
291 B
TypeScript
import { Option } from '@element-plus/select'
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
|
|
|
const _Option: SFCWithInstall<typeof Option> = Option as SFCWithInstall<typeof Option>
|
|
|
|
_Option.install = app => {
|
|
app.component(_Option.name, _Option)
|
|
}
|
|
|
|
export default _Option
|