mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
272b8c76c8
* fix: some components miss install type * fix: some components miss install type
11 lines
298 B
TypeScript
11 lines
298 B
TypeScript
import Message from './src/message'
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
|
|
|
const _Message: SFCWithInstall<typeof Message> = Message as SFCWithInstall<typeof Message>
|
|
|
|
_Message.install = app => {
|
|
app.config.globalProperties.$message = _Message
|
|
}
|
|
|
|
export default _Message
|