Page MenuHomePhabricator

D5398.id17761.diff
No OneTemporary

D5398.id17761.diff

diff --git a/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js b/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js
--- a/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js
+++ b/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js
@@ -946,14 +946,14 @@
+options?:
| ScreenOptions
| ({|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}) => ScreenOptions,
+listeners?:
| ScreenListeners<State, EventMap>
| ({|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}) => ScreenListeners<State, EventMap>,
+initialParams?: $Partial<$ElementType<ParamList, RouteName>>,
|};
@@ -976,8 +976,22 @@
EventMap,
>,
+component: React$ComponentType<{|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
+ |}>,
+ |}
+ | {|
+ ...BaseScreenProps<
+ ParamList,
+ NavProp,
+ RouteName,
+ State,
+ ScreenOptions,
+ EventMap,
+ >,
+ +getComponent: () => React$ComponentType<{|
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}>,
|}
| {|
@@ -990,8 +1004,8 @@
EventMap,
>,
+children: ({|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}) => React$Node,
|};
diff --git a/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js b/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js
--- a/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js
+++ b/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js
@@ -946,14 +946,14 @@
+options?:
| ScreenOptions
| ({|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}) => ScreenOptions,
+listeners?:
| ScreenListeners<State, EventMap>
| ({|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}) => ScreenListeners<State, EventMap>,
+initialParams?: $Partial<$ElementType<ParamList, RouteName>>,
|};
@@ -976,8 +976,22 @@
EventMap,
>,
+component: React$ComponentType<{|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
+ |}>,
+ |}
+ | {|
+ ...BaseScreenProps<
+ ParamList,
+ NavProp,
+ RouteName,
+ State,
+ ScreenOptions,
+ EventMap,
+ >,
+ +getComponent: () => React$ComponentType<{|
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}>,
|}
| {|
@@ -990,8 +1004,8 @@
EventMap,
>,
+children: ({|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}) => React$Node,
|};
diff --git a/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js b/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js
--- a/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js
+++ b/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js
@@ -946,14 +946,14 @@
+options?:
| ScreenOptions
| ({|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}) => ScreenOptions,
+listeners?:
| ScreenListeners<State, EventMap>
| ({|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}) => ScreenListeners<State, EventMap>,
+initialParams?: $Partial<$ElementType<ParamList, RouteName>>,
|};
@@ -976,8 +976,22 @@
EventMap,
>,
+component: React$ComponentType<{|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
+ |}>,
+ |}
+ | {|
+ ...BaseScreenProps<
+ ParamList,
+ NavProp,
+ RouteName,
+ State,
+ ScreenOptions,
+ EventMap,
+ >,
+ +getComponent: () => React$ComponentType<{|
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}>,
|}
| {|
@@ -990,8 +1004,8 @@
EventMap,
>,
+children: ({|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}) => React$Node,
|};
diff --git a/native/flow-typed/npm/@react-navigation/native_v5.x.x.js b/native/flow-typed/npm/@react-navigation/native_v5.x.x.js
--- a/native/flow-typed/npm/@react-navigation/native_v5.x.x.js
+++ b/native/flow-typed/npm/@react-navigation/native_v5.x.x.js
@@ -946,14 +946,14 @@
+options?:
| ScreenOptions
| ({|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}) => ScreenOptions,
+listeners?:
| ScreenListeners<State, EventMap>
| ({|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}) => ScreenListeners<State, EventMap>,
+initialParams?: $Partial<$ElementType<ParamList, RouteName>>,
|};
@@ -976,8 +976,22 @@
EventMap,
>,
+component: React$ComponentType<{|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
+ |}>,
+ |}
+ | {|
+ ...BaseScreenProps<
+ ParamList,
+ NavProp,
+ RouteName,
+ State,
+ ScreenOptions,
+ EventMap,
+ >,
+ +getComponent: () => React$ComponentType<{|
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}>,
|}
| {|
@@ -990,8 +1004,8 @@
EventMap,
>,
+children: ({|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}) => React$Node,
|};
diff --git a/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js b/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js
--- a/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js
+++ b/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js
@@ -946,14 +946,14 @@
+options?:
| ScreenOptions
| ({|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}) => ScreenOptions,
+listeners?:
| ScreenListeners<State, EventMap>
| ({|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}) => ScreenListeners<State, EventMap>,
+initialParams?: $Partial<$ElementType<ParamList, RouteName>>,
|};
@@ -976,8 +976,22 @@
EventMap,
>,
+component: React$ComponentType<{|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
+ |}>,
+ |}
+ | {|
+ ...BaseScreenProps<
+ ParamList,
+ NavProp,
+ RouteName,
+ State,
+ ScreenOptions,
+ EventMap,
+ >,
+ +getComponent: () => React$ComponentType<{|
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}>,
|}
| {|
@@ -990,8 +1004,8 @@
EventMap,
>,
+children: ({|
- route: RouteProp<ParamList, RouteName>,
- navigation: NavProp,
+ +route: RouteProp<ParamList, RouteName>,
+ +navigation: NavProp,
|}) => React$Node,
|};

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 10, 3:10 PM (16 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2845714
Default Alt Text
D5398.id17761.diff (8 KB)

Event Timeline