-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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 TypeScript declaration file. #5276
Closed
Closed
Commits on Nov 23, 2018
-
Add TypeScript declaration file.
As discussed in [this issue](https://github.com/react-navigation/react-navigation-core/issues/2) we should manage the TypeScript typings from within react-navigation. This file extends the old DefinitelyTyped file: What I added (and needs to be checked / reviewed): `unmountInactiveRoutes`, `drawerType` and missing `contentOptions` for `DrawerItems`. Added `defaultNavigationOptions`. Added default params inside route definitions. Added 'headerBackgroundTransitionPreset'. Added `cardOverlayEnabled` and `cardShadowEnabled`. What I couldn't add: The support for React Hooks (I didn't find the code in V3). Type definitions for `createAppContainer` (I didn't have time to look into it and understand the code).
Configuration menu - View commit details
-
Copy full SHA for 63b87d8 - Browse repository at this point
Copy the full SHA 63b87d8View commit details
Commits on Nov 26, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 97d1302 - Browse repository at this point
Copy the full SHA 97d1302View commit details
Commits on Nov 28, 2018
-
Co-Authored-By: janhesters <31096420+janhesters@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 18bcdb1 - Browse repository at this point
Copy the full SHA 18bcdb1View commit details
Commits on Nov 29, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 223c6b0 - Browse repository at this point
Copy the full SHA 223c6b0View commit details
Commits on Nov 30, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 03457fc - Browse repository at this point
Copy the full SHA 03457fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b69ab3 - Browse repository at this point
Copy the full SHA 6b69ab3View commit details -
Co-Authored-By: janhesters <31096420+janhesters@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8c5b452 - Browse repository at this point
Copy the full SHA 8c5b452View commit details
Commits on Dec 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for efe43d4 - Browse repository at this point
Copy the full SHA efe43d4View commit details
Commits on Dec 6, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a84fe56 - Browse repository at this point
Copy the full SHA a84fe56View commit details
Commits on Dec 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for d8821dd - Browse repository at this point
Copy the full SHA d8821ddView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.