You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -307,11 +307,12 @@ function getAdaptedState(state: PartialState<NavigationState<RootNavigatorParamL
307
307
* see the NAVIGATION.md documentation.
308
308
*
309
309
* @param path - The path to generate state from
310
-
* @param options - Extra options to fine-tune how to parse the path
311
-
* @param shouldReplacePathInNestedState - Whether to replace the path in nested state
310
+
* @param options - Extra options kept for react-navigation compatibility
311
+
* @param shouldReplacePathInNestedState - Whether to replace the path in nested state (if passing this arg, pass `undefined` for `options`, otherwise omit both)
312
312
* @returns The adapted navigation state
313
313
* @throws Error if unable to get state from path
314
314
*/
315
+
// We keep `options` in the signature for `linkingConfig` compatibility with react-navigation.
0 commit comments