diff --git a/types/element-ui.d.ts b/types/element-ui.d.ts index 6eced80c..e35fe0cd 100644 --- a/types/element-ui.d.ts +++ b/types/element-ui.d.ts @@ -327,8 +327,8 @@ export class Calendar extends ElCalendar {} /** Backtop Component */ export class Backtop extends ElBacktop {} -/** InfiniteScroll Component */ -export class InfiniteScroll extends ElInfiniteScroll {} +/** InfiniteScroll Directive */ +export const InfiniteScroll: PluginObject; /** PageHeader Component */ export class PageHeader extends ElPageHeader {} diff --git a/types/infiniteScroll.d.ts b/types/infiniteScroll.d.ts index a672195e..4fbeb3df 100644 --- a/types/infiniteScroll.d.ts +++ b/types/infiniteScroll.d.ts @@ -1,6 +1,6 @@ import { VNodeDirective } from 'vue' -export interface ElLoadingDirective extends VNodeDirective { +export interface ElInfiniteScroll extends VNodeDirective { name: 'infinite-scroll', value: Function } \ No newline at end of file