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

add listener types #861

Merged
merged 4 commits into from
Aug 30, 2023
Merged

Conversation

muneebahmedayub
Copy link
Contributor

Motivation

FIX #860

Execution

The types were already exported from @react-navigation, I used withLayoutContext with generics to add those types in Stack, Tabs and Drawer navigation

Test Plan

This pull request can be tested by checking the types of listener prop in any navigator in one of the sandbox projects in app directory

@marklawlor marklawlor self-requested a review August 30, 2023 01:52
@marklawlor marklawlor merged commit 7816708 into expo:main Aug 30, 2023
6 checks passed
EvanBacon pushed a commit to expo/expo that referenced this pull request Aug 30, 2023
DavidAmyot pushed a commit to Villeco-inc/expo-router that referenced this pull request Oct 16, 2024
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.

listeners prop do not have types
2 participants