From fdbbd15187595b83cd5f654547d5c1a8b5b1eedb Mon Sep 17 00:00:00 2001 From: BeADre Date: Sat, 28 Aug 2021 03:47:38 +0800 Subject: [PATCH] fix: remove useless and duplicate declaration (#3082) --- packages/components/virtual-list/src/types.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/components/virtual-list/src/types.ts b/packages/components/virtual-list/src/types.ts index 8551464b8c..e0b3fc91ed 100644 --- a/packages/components/virtual-list/src/types.ts +++ b/packages/components/virtual-list/src/types.ts @@ -5,10 +5,9 @@ import type { } from 'vue' export type Instance = ComponentInternalInstance -export type ScrollEvent = WheelEvent | MouseEvent export type Alignment = 'auto' | 'smart' | 'center' | 'start' | 'end' -export type ItemSize = (idx: number) => number | number +export type ItemSize = (idx: number) => number export type Direction = 'ltr' | 'rtl' export type LayoutDirection = 'horizontal' | 'vertical' export type RTLOffsetType = 'negative' | 'positive-descending' | 'positive-ascending';