Compare commits

..

2 Commits

Author SHA1 Message Date
satyajit.happy
d6232860c5 chore: release 4.0.2 2019-09-09 23:02:06 +02:00
satyajit.happy
e7028ce75a fix: fix typo in definitions 2019-09-09 23:01:45 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "react-navigation",
"version": "4.0.1",
"version": "4.0.2",
"description": "Routing and navigation for your React Native apps",
"main": "src/react-navigation.js",
"types": "typescript/react-navigation.d.ts",

View File

@@ -219,7 +219,7 @@ declare module 'react-navigation' {
Params = NavigationParams,
Options = {},
Props = {}
> = React.ComponentType<Navigationunknown<Params, Options> & Props> & {
> = React.ComponentType<NavigationScreenProps<Params, Options> & Props> & {
navigationOptions?: NavigationScreenConfig<Options>;
};
@@ -819,7 +819,7 @@ declare module 'react-navigation' {
* BEGIN CUSTOM CONVENIENCE INTERFACES
*/
export interface Navigationunknown<
export interface NavigationScreenProps<
Params = NavigationParams,
Options = any
> {