From d14f38b80ad569d5828c1919cea426c659173924 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Fri, 15 May 2020 18:37:58 +0200 Subject: [PATCH] fix: fix types for linking options --- packages/native/src/types.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.