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

fix: add reset to navigation screen prop TypeScript def #5942

Merged
merged 1 commit into from
May 28, 2019
Merged

fix: add reset to navigation screen prop TypeScript def #5942

merged 1 commit into from
May 28, 2019

Conversation

danielholmes
Copy link

Motivation

Stop TypeScript compiler errors for usage of reset which is described at:

https://reactnavigation.org/docs/en/navigation-prop.html#reset

Test plan

I've been using this in a real world project and it stopped the tsc errors when adding this change.

@satya164
Copy link
Member

Thank you for the PR

@satya164 satya164 changed the title Add reset to navigation screen prop TypeScript def fix: add reset to navigation screen prop TypeScript def May 28, 2019
@satya164 satya164 merged commit 6563277 into react-navigation:master May 28, 2019
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

2 participants