Chore: Update infiniteScroll type (#15794)

pull/15798/head
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 */ /** Backtop Component */
export class Backtop extends ElBacktop {} export class Backtop extends ElBacktop {}
/** InfiniteScroll Component */ /** InfiniteScroll Directive */
export class InfiniteScroll extends ElInfiniteScroll {} export const InfiniteScroll: PluginObject<ElInfiniteScroll>;
/** PageHeader Component */ /** PageHeader Component */
export class PageHeader extends ElPageHeader {} export class PageHeader extends ElPageHeader {}

View File

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