diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-12-05 18:21:15 -0800 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-12-05 18:21:15 -0800 |
commit | 41fd6eb95b5f9f863a29b098385366496a032626 (patch) | |
tree | d12a550be35eb098935cdd5cdd65248352e01b7d /src/lib/routes | |
parent | 2ad0d059ac756cb3358bfda8e855584b1e517e3a (diff) | |
download | voidsky-41fd6eb95b5f9f863a29b098385366496a032626.tar.zst |
Fix some types
Diffstat (limited to 'src/lib/routes')
-rw-r--r-- | src/lib/routes/helpers.ts | 2 |
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()) { |