mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 18:01:24 +08:00
272b8c76c8
* fix: some components miss install type * fix: some components miss install type
11 lines
288 B
TypeScript
11 lines
288 B
TypeScript
import Notify from './src/notify'
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
|
|
|
const _Notify: SFCWithInstall<typeof Notify> = Notify as SFCWithInstall<typeof Notify>
|
|
|
|
_Notify.install = app => {
|
|
app.config.globalProperties.$notify = _Notify
|
|
}
|
|
|
|
export default _Notify
|