about summary refs log tree commit diff
path: root/src/lib/routes/helpers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/routes/helpers.ts')
-rw-r--r--src/lib/routes/helpers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/routes/helpers.ts b/src/lib/routes/helpers.ts
index 7097f09bd..0da885043 100644
--- a/src/lib/routes/helpers.ts
+++ b/src/lib/routes/helpers.ts
@@ -1,7 +1,7 @@
 import {NavigationProp} from '@react-navigation/native'
 import {State, RouteParams} from './types'
 
-export function getRootNavigation<T>(
+export function getRootNavigation<T extends {}>(
   nav: NavigationProp<T>,
 ): NavigationProp<T> {
   while (nav.getParent()) {