chore: fix flow error

This commit is contained in:
Brent Vatne
2018-10-31 16:25:46 -07:00
parent 36ea405145
commit 53f03ad9ac
3 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
// flow-typed signature: 6780fb20485c0018ac8df929910df66f
// flow-typed version: <<STUB>>/react-native-screens_v1.0.0-alpha.15/flow_v0.67.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-native-screens'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/
declare module 'react-native-screens' {
declare module.exports: any;
}
/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'react-native-screens/src/screens.native' {
declare module.exports: any;
}
declare module 'react-native-screens/src/screens.web' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-native-screens/src/screens.native.js' {
declare module.exports: $Exports<'react-native-screens/src/screens.native'>;
}
declare module 'react-native-screens/src/screens.web.js' {
declare module.exports: $Exports<'react-native-screens/src/screens.web'>;
}

View File

@@ -69,6 +69,7 @@
"react": "16.3.1",
"react-dom": "16.3.1",
"react-native": "~0.55.4",
"react-native-screens": "^1.0.0-alpha.15",
"react-test-renderer": "16.2.0"
},
"peerDependencies": {

View File

@@ -5826,6 +5826,11 @@ react-lifecycles-compat@^3.0.4:
resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362"
integrity sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==
react-native-screens@^1.0.0-alpha.15:
version "1.0.0-alpha.15"
resolved "https://registry.yarnpkg.com/react-native-screens/-/react-native-screens-1.0.0-alpha.15.tgz#5b5a0041310b46f12048fda1908d52e7290ec18f"
integrity sha512-S2OM/ieD+Krk+0/Z2Vz2rTUWYud5hJgCRZqXRtqEfMgEcGI4FBopXp7mwXCGbA2PFLjZwZSwLlsZ6RX30WnjRw==
react-native-tab-view@^1.0.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-1.2.0.tgz#0cc26a1c8e49b6c0d58a30363dbbe43954907c31"