Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32174617
D15007.1765064245.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D15007.1765064245.diff
View Options
diff --git a/native/flow-typed/npm/@react-navigation/core_v6.x.x.js b/native/flow-typed/npm/@react-navigation/core_v6.x.x.js
--- a/native/flow-typed/npm/@react-navigation/core_v6.x.x.js
+++ b/native/flow-typed/npm/@react-navigation/core_v6.x.x.js
@@ -393,8 +393,8 @@
...$EventHandlers<ExtraEventsProps>,
id?: string,
enabled?: boolean,
- waitFor?: React$Ref<any> | Array<React$Ref<any>>,
- simultaneousHandlers?: React$Ref<any> | Array<React$Ref<any>>,
+ waitFor?: React.RefSetter<any> | Array<React.RefSetter<any>>,
+ simultaneousHandlers?: React.RefSetter<any> | Array<React.RefSetter<any>>,
shouldCancelWhenOutside?: boolean,
minPointers?: number,
hitSlop?: HitSlop,
diff --git a/native/flow-typed/npm/@react-navigation/drawer_v6.x.x.js b/native/flow-typed/npm/@react-navigation/drawer_v6.x.x.js
--- a/native/flow-typed/npm/@react-navigation/drawer_v6.x.x.js
+++ b/native/flow-typed/npm/@react-navigation/drawer_v6.x.x.js
@@ -91,7 +91,7 @@
* DrawerGestureContext
*/
- declare type GestureHandlerRef = React$Ref<
+ declare type GestureHandlerRef = React.RefObject<
React$ComponentType<PanGestureHandlerProps>,
>;
declare export var DrawerGestureContext: React$Context<?GestureHandlerRef>;
diff --git a/native/flow-typed/npm/@react-navigation/stack_v6.x.x.js b/native/flow-typed/npm/@react-navigation/stack_v6.x.x.js
--- a/native/flow-typed/npm/@react-navigation/stack_v6.x.x.js
+++ b/native/flow-typed/npm/@react-navigation/stack_v6.x.x.js
@@ -105,7 +105,7 @@
* GestureHandler accessors
*/
- declare type GestureHandlerRef = React$Ref<
+ declare type GestureHandlerRef = React.RefObject<
React$ComponentType<PanGestureHandlerProps>,
>;
declare export var GestureHandlerRefContext: React$Context<
diff --git a/native/flow-typed/npm/react-native-gesture-handler_v2.x.x.js b/native/flow-typed/npm/react-native-gesture-handler_v2.x.x.js
--- a/native/flow-typed/npm/react-native-gesture-handler_v2.x.x.js
+++ b/native/flow-typed/npm/react-native-gesture-handler_v2.x.x.js
@@ -379,8 +379,8 @@
...$EventHandlers<ExtraEventsProps>,
id?: string,
enabled?: boolean,
- waitFor?: React$Ref<any> | $ReadOnlyArray<React$Ref<any>>,
- simultaneousHandlers?: React$Ref<any> | $ReadOnlyArray<React$Ref<any>>,
+ waitFor?: React.RefSetter<any> | $ReadOnlyArray<React.RefSetter<any>>,
+ simultaneousHandlers?: React.RefSetter<any> | $ReadOnlyArray<React.RefSetter<any>>,
shouldCancelWhenOutside?: boolean,
minPointers?: number,
hitSlop?: HitSlop,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 6, 11:37 PM (4 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5841480
Default Alt Text
D15007.1765064245.diff (2 KB)
Attached To
Mode
D15007: [Flow262][skip-ci] Replace React$Ref -> React.RefSetter/RefObject
Attached
Detach File
Event Timeline
Log In to Comment