File tree Expand file tree Collapse file tree 6 files changed +1
-6
lines changed Expand file tree Collapse file tree 6 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 94
94
"react-autobind" : " ^1.0.6" ,
95
95
"react-dom" : " ^15.4.2" ,
96
96
"react-native" : " 0.66.4" ,
97
- "react-native-gesture-handler" : " 2.4.1 " ,
97
+ "react-native-gesture-handler" : " 2.5.0 " ,
98
98
"react-native-haptic-feedback" : " ^1.11.0" ,
99
99
"react-native-linear-gradient" : " 2.5.6" ,
100
100
"react-native-navigation" : " ^7.19.1" ,
Original file line number Diff line number Diff line change @@ -331,7 +331,6 @@ class Drawer extends PureComponent<DrawerProps> {
331
331
} ) ;
332
332
333
333
return (
334
- // @ts -expect-error related to missing children type started on react 18
335
334
< RectButton
336
335
key = { index }
337
336
testID = { item . testID }
Original file line number Diff line number Diff line change @@ -161,7 +161,6 @@ function SortableItem(props: PropsWithChildren<SortableItemProps & ReturnType<ty
161
161
162
162
return (
163
163
< View reanimated style = { [ style , animatedStyle ] } onLayout = { onLayout } >
164
- { /* @ts -expect-error related to children type issue that started on react 18 */ }
165
164
< GestureDetector gesture = { gesture } >
166
165
< View > { props . children } </ View >
167
166
</ GestureDetector >
Original file line number Diff line number Diff line change @@ -146,7 +146,6 @@ const SortableListItem = (props: Props) => {
146
146
} ) ;
147
147
148
148
return (
149
- // @ts -expect-error related to children type issue that started on react 18
150
149
< GestureDetector gesture = { dragAfterLongPressGesture } >
151
150
< View reanimated style = { draggedAnimatedStyle } onLayout = { index === 0 ? onItemLayout : undefined } >
152
151
{ children }
Original file line number Diff line number Diff line change @@ -208,7 +208,6 @@ export default function TabBarItem({
208
208
} ) ;
209
209
210
210
return (
211
- // @ts -expect-error caused by @types/react v18 and should be fixed by gesture-handler lib
212
211
< GestureDetector gesture = { gesture } >
213
212
< View
214
213
reanimated
Original file line number Diff line number Diff line change @@ -166,7 +166,6 @@ const PanView = (props: Props) => {
166
166
return (
167
167
// TODO: delete comments once completed
168
168
< View ref = { containerRef } style = { containerStyle } onLayout = { onLayout } >
169
- { /* @ts -expect-error missing children TS error started with react 18 */ }
170
169
< PanGestureHandler onGestureEvent = { isEmpty ( directions ) ? undefined : onGestureEvent } >
171
170
< Animated . View
172
171
// !visible.current && styles.hidden is done to fix a bug is iOS
You can’t perform that action at this time.
0 commit comments