Chore: Update infiniteScroll type (#15794)

This commit is contained in:
iamkun 2019-05-30 18:25:34 +08:00 committed by GitHub
parent 2bf8682a82
commit 878a7f8d43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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<ElInfiniteScroll>;
/** PageHeader Component */
export class PageHeader extends ElPageHeader {}

View File

@ -1,6 +1,6 @@
import { VNodeDirective } from 'vue'
export interface ElLoadingDirective extends VNodeDirective {
export interface ElInfiniteScroll extends VNodeDirective {
name: 'infinite-scroll',
value: Function
}