Skip to content

Commit

Permalink
Refactor #1687
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Oct 22, 2021
1 parent 843a743 commit 3b392d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/virtualscroller/VirtualScroller.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface VirtualScrollerProps {
class?: string;
}

interface Range {
interface VirtualScrollerRangeMethodInterface {
first: number;
last: number;
viewport: {
Expand All @@ -29,7 +29,7 @@ declare class VirtualScroller {
scrollTo(options?: ScrollToOptions): void;
scrollToIndex(index: number, behavior: ScrollBehavior): void;
scrollInView(index: number, to: "to-start" | "to-end", behavior: ScrollBehavior): void;
getRenderedRange(): Range;
getRenderedRange(): VirtualScrollerRangeMethodInterface;
$emit(eventName: 'update:numToleratedItems', value: number): this;
$emit(eventName: 'scroll-index-change', value: { first: number, last: number }): this;
$emit(eventName: 'lazy-load', value: { first: number, last: number }): this;
Expand Down

0 comments on commit 3b392d6

Please sign in to comment.