Skip to content
This repository was archived by the owner on Jan 9, 2022. It is now read-only.

Commit b01761b

Browse files
committed
fix: fix scroll composable typing
1 parent 4169fd2 commit b01761b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/composable/scroll.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const useScroll = ({
1212
content,
1313
}: ScrollParams) => {
1414
let disabled = false
15-
let disableType: 'byEvents' | 'byOverflow' = null
15+
let disableType: 'byEvents' | 'byOverflow'
1616

1717
const eventListener = (event: WheelEvent) => {
1818
if(event.target === overlay.value

0 commit comments

Comments
 (0)