chore: update dependencies and fix flow

This commit is contained in:
Satyajit Sahoo
2018-04-02 15:00:45 +02:00
parent b532943549
commit 830b5d0b6d
4 changed files with 15 additions and 9 deletions

View File

@@ -31,6 +31,7 @@
.*/example/\.buckd/
.*/node_modules/react-native-gesture-handler
.*/node_modules/react-native-safe-area-view
[include]
@@ -47,6 +48,11 @@ experimental.strict_type_args=true
munge_underscores=true
module.file_ext=.js
module.file_ext=.native.js
module.file_ext=.android.js
module.file_ext=.ios.js
module.name_mapper='^expo$' -> 'emptyObject'
module.name_mapper='^react-native-gesture-handler$' -> 'emptyObject'

View File

@@ -41,9 +41,9 @@
"hoist-non-react-statics": "^2.5.0",
"prop-types": "^15.6.0",
"react-lifecycles-compat": "^1.0.2",
"react-native-paper": "^1.2.4",
"react-native-paper": "^1.2.5",
"react-native-safe-area-view": "^0.7.0",
"react-native-tab-view": "~0.0.75"
"react-native-tab-view": "~0.0.77"
},
"devDependencies": {
"@expo/vector-icons": "^6.2.0",

View File

@@ -124,7 +124,7 @@ export default function createTabNavigator(TabView: React.ComponentType<*>) {
}
}
return (routes, config = {}) => {
return (routes: *, config: * = {}) => {
const router = TabRouter(routes, config);
const navigator = createNavigator(NavigationView, router, config);

View File

@@ -4382,9 +4382,9 @@ react-native-drawer-layout@1.3.2:
dependencies:
react-native-dismiss-keyboard "1.0.0"
react-native-paper@^1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/react-native-paper/-/react-native-paper-1.2.4.tgz#28ab6e5d83ea264167058618bde312c7c61ece73"
react-native-paper@^1.2.5:
version "1.2.5"
resolved "https://registry.yarnpkg.com/react-native-paper/-/react-native-paper-1.2.5.tgz#3a4480ca967aae4b3e65a987116973dd012d1fa8"
dependencies:
color "^2.0.1"
create-react-context "^0.2.1"
@@ -4403,9 +4403,9 @@ react-native-tab-view@^0.0.74:
dependencies:
prop-types "^15.6.0"
react-native-tab-view@~0.0.75:
version "0.0.75"
resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-0.0.75.tgz#d71c24645ae1ce84a08152e212912f131906d0a4"
react-native-tab-view@^0.0.77:
version "0.0.77"
resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-0.0.77.tgz#11ceb8e7c23100d07e628dc151b57797524d00d4"
dependencies:
prop-types "^15.6.0"