diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-01-26 11:25:52 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-01-26 11:25:52 -0600 |
commit | 7e3f6f030680a8cf7b5baa3ce6f33acd5766fca8 (patch) | |
tree | 38ad7a0c586caa6cd0635653cb812d602210b718 /src/view/com/lightbox/ImageViewing/hooks/usePanResponder.ts | |
parent | c4ba5e7fd507a2f5295fd3fcbcea0796223c744c (diff) | |
download | voidsky-7e3f6f030680a8cf7b5baa3ce6f33acd5766fca8.tar.zst |
Fix all type errors
Diffstat (limited to 'src/view/com/lightbox/ImageViewing/hooks/usePanResponder.ts')
-rw-r--r-- | src/view/com/lightbox/ImageViewing/hooks/usePanResponder.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/lightbox/ImageViewing/hooks/usePanResponder.ts b/src/view/com/lightbox/ImageViewing/hooks/usePanResponder.ts index 4600cf1a8..036e7246f 100644 --- a/src/view/com/lightbox/ImageViewing/hooks/usePanResponder.ts +++ b/src/view/com/lightbox/ImageViewing/hooks/usePanResponder.ts @@ -61,7 +61,7 @@ const usePanResponder = ({ let tmpTranslate: Position | null = null let isDoubleTapPerformed = false let lastTapTS: number | null = null - let longPressHandlerRef: number | null = null + let longPressHandlerRef: NodeJS.Timeout | null = null const meaningfulShift = MIN_DIMENSION * 0.01 const scaleValue = new Animated.Value(initialScale) |