mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-05-10 05:09:35 +08:00
fix: fix types for linking options
This commit is contained in:
@@ -39,7 +39,9 @@ export type LinkingOptions = {
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
config?: Parameters<typeof getStateFromPathDefault>[1];
|
||||
config?:
|
||||
| Parameters<typeof getStateFromPathDefault>[1]
|
||||
| Parameters<typeof getPathFromStateDefault>[1];
|
||||
/**
|
||||
* Custom function to parse the URL to a valid navigation state (advanced).
|
||||
* Only applicable on Web.
|
||||
|
||||
Reference in New Issue
Block a user