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
11 lines
346 B
TypeScript
11 lines
346 B
TypeScript
import InfiniteScroll from './src/index'
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
|
|
|
const _InfiniteScroll: SFCWithInstall<typeof InfiniteScroll> = InfiniteScroll as SFCWithInstall<typeof InfiniteScroll>
|
|
|
|
_InfiniteScroll.install = app => {
|
|
app.directive('InfiniteScroll', _InfiniteScroll)
|
|
}
|
|
|
|
export default _InfiniteScroll
|