You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm now getting a type error from the parameter ModalWrappedNavigator being passed into createAppContainer from react-navigation (version 4.0.10, was not upgraded).
Argument of type 'ComponentType<{}>' is not assignable to parameter of type 'NavigationNavigator<unknown, unknown>'.
Type 'ComponentClass<{}, any>' is not assignable to type 'NavigationNavigator<unknown, unknown>'.
Type 'ComponentClass<{}, any>' is not assignable to type 'ComponentClass<NavigationNavigatorProps<unknown, {}, unknown>, any> & { router: NavigationRouter<unknown, {}>; navigationOptions?: unknown; }'.
Property 'router' is missing in type 'ComponentClass<{}, any>' but required in type '{ router: NavigationRouter<unknown, {}>; navigationOptions?: unknown; }'.ts(2345)
Application runs fine at run time FYI.
The text was updated successfully, but these errors were encountered:
I've just upgraded to version 2.0.1. I'm using Typescript.
Before the upgrade the following code worked with no typing issues.
I'm now getting a type error from the parameter
ModalWrappedNavigator
being passed intocreateAppContainer
fromreact-navigation
(version 4.0.10, was not upgraded).Application runs fine at run time FYI.
The text was updated successfully, but these errors were encountered: