From 3b392d6a24d63d1f4bffa61c60a7556319d9cbd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 22 Oct 2021 14:08:53 +0300 Subject: [PATCH] Refactor #1687 --- src/components/virtualscroller/VirtualScroller.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/virtualscroller/VirtualScroller.d.ts b/src/components/virtualscroller/VirtualScroller.d.ts index 2ddbe8f43..3a05f90ac 100644 --- a/src/components/virtualscroller/VirtualScroller.d.ts +++ b/src/components/virtualscroller/VirtualScroller.d.ts @@ -15,7 +15,7 @@ interface VirtualScrollerProps { class?: string; } -interface Range { +interface VirtualScrollerRangeMethodInterface { first: number; last: number; viewport: { @@ -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;