Skip to content
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

feat: improve types for navigation state #8980

Merged
merged 1 commit into from
Oct 23, 2020
Merged

Conversation

satya164
Copy link
Member

@satya164 satya164 commented Oct 23, 2020

The commit improves the navigation state object to have more specific types.
e.g. The routeNames array will now have proper type instead of string[]

Screen Shot 2020-10-23 at 16 55 59

The commit improves the navigation state object to have more specific types.
e.g. The `routeNames` array will now have proper type instead of `string[]`
@netlify
Copy link

netlify bot commented Oct 23, 2020

Deploy preview for react-navigation-example ready!

Built with commit cdc6d7a

https://deploy-preview-8980--react-navigation-example.netlify.app

@github-actions
Copy link

The Expo app for the example from this branch is ready!

expo.io/@react-navigation/react-navigation-example?release-channel=pr-8980

@satya164 satya164 merged commit 7dc2f58 into main Oct 23, 2020
@satya164 satya164 deleted the @satya164/better-types branch October 23, 2020 15:06
joshuapinter pushed a commit to cntral/react-navigation that referenced this pull request Sep 29, 2021
The commit improves the navigation state object to have more specific types.
e.g. The `routeNames` array will now have proper type instead of `string[]`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant