-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add strict navigation return types to all screens #6044
Comments
We can also annotate They do provide one warning about type safety, though.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would move us away from returning
JSX.Element
for the majority of our functional screens.The documentation on organizing types from react navigation shows that we can strongly type the return for our screens. Are we interested in refactoring every screen to be checked in this way?
The text was updated successfully, but these errors were encountered: