diff --git a/packages/native/src/types.tsx b/packages/native/src/types.tsx index a22c2c36..9641df36 100644 --- a/packages/native/src/types.tsx +++ b/packages/native/src/types.tsx @@ -39,7 +39,9 @@ export type LinkingOptions = { * } * ``` */ - config?: Parameters[1]; + config?: + | Parameters[1] + | Parameters[1]; /** * Custom function to parse the URL to a valid navigation state (advanced). * Only applicable on Web.