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';