mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 03:08:21 +08:00
refactor(components): [virtual-list] remove use-wheel ts-nocheck comments (#16929)
chore: remove ts-nocheck comments in virtual-list
This commit is contained in:
parent
b1bfb9fd1b
commit
b905cc00aa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user