refactor(components): [virtual-list] remove use-wheel ts-nocheck comments (#16929)

chore: remove ts-nocheck comments in virtual-list
This commit is contained in:
sea / 神秘海 2024-05-21 16:37:11 +08:00 committed by GitHub
parent b1bfb9fd1b
commit b905cc00aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,3 @@
// @ts-nocheck
import { cAF, isFirefox, rAF } from '@element-plus/utils'
import { HORIZONTAL, VERTICAL } from '../defaults'
@ -8,7 +7,7 @@ import type { LayoutDirection } from '../types'
const LayoutKeys = {
[HORIZONTAL]: 'deltaX',
[VERTICAL]: 'deltaY',
}
} as const
interface ListWheelState {
atStartEdge: ComputedRef<boolean> // exclusive to reachEnd