Skip to content

Commit

Permalink
refactor(components): [virtual-list] remove use-wheel ts-nocheck comm…
Browse files Browse the repository at this point in the history
…ents (#16929)

chore: remove ts-nocheck comments in virtual-list
  • Loading branch information
warmthsea committed May 21, 2024
1 parent b1bfb9f commit b905cc0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/components/virtual-list/src/hooks/use-wheel.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @ts-nocheck
import { cAF, isFirefox, rAF } from '@element-plus/utils'
import { HORIZONTAL, VERTICAL } from '../defaults'

Expand All @@ -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
Expand Down

0 comments on commit b905cc0

Please sign in to comment.