Argument of type 'string' is not assignable to parameter of type '{ key: string; params?: never; merge?: boolean; } | { name: never; key?: string; params: never; merge?: boolean; }'.ts(2345)
that happens always when we cant to navigate to anther screen with typescript in react-native an help ?
example of code :
navigation.navigate("page_2")} />
Top comments (1)
solution