Permalink
Browse files

flow types for Hoc and Facc

  • Loading branch information...
rgommezz committed May 27, 2017
1 parent fa280d7 commit 852f79272185f38c966876384ae35278d00d28e3
Showing with 6,834 additions and 154 deletions.
  1. +37 −5 .flowconfig
  2. +0 −3 .gitignore
  3. +73 −0 flow-typed/npm/babel-eslint_vx.x.x.js
  4. +32 −0 flow-typed/npm/babel-jest_vx.x.x.js
  5. +32 −0 flow-typed/npm/babel-plugin-transform-flow-strip-types_vx.x.x.js
  6. +32 −0 flow-typed/npm/babel-preset-es2015_vx.x.x.js
  7. +32 −0 flow-typed/npm/babel-preset-stage-0_vx.x.x.js
  8. +60 −0 flow-typed/npm/concurrently_vx.x.x.js
  9. +73 −0 flow-typed/npm/eslint-config-airbnb_vx.x.x.js
  10. +59 −0 flow-typed/npm/eslint-config-prettier_vx.x.x.js
  11. +326 −0 flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js
  12. +326 −0 flow-typed/npm/eslint-plugin-import_vx.x.x.js
  13. +1,411 −0 flow-typed/npm/eslint-plugin-jsx-a11y_vx.x.x.js
  14. +32 −0 flow-typed/npm/eslint-plugin-prettier_vx.x.x.js
  15. +500 −0 flow-typed/npm/eslint-plugin-react_vx.x.x.js
  16. +2,293 −0 flow-typed/npm/eslint_vx.x.x.js
  17. +6 −0 flow-typed/npm/flow-bin_v0.x.x.js
  18. +33 −0 flow-typed/npm/hoist-non-react-statics_vx.x.x.js
  19. +459 −0 flow-typed/npm/jest_v19.x.x.js
  20. +514 −0 flow-typed/npm/lodash_v4.x.x.js
  21. +157 −0 flow-typed/npm/prettier_vx.x.x.js
  22. +31 −0 flow-typed/npm/redux-mock-store_v1.2.x.js
  23. +60 −0 flow-typed/npm/redux-thunk_vx.x.x.js
  24. +58 −0 flow-typed/npm/redux_v3.x.x.js
  25. +3 −3 package.json
  26. +12 −2 src/ConnectivityRenderer.js
  27. +2 −1 src/actionCreators.js
  28. +2 −1 src/actionTypes.js
  29. +3 −4 src/createNetworkMiddleware.js
  30. +3 −1 src/isNetworkConnected.js
  31. +9 −6 src/reducer.js
  32. +1 −11 src/types.js
  33. +5 −3 src/withNetworkConnectivity.js
  34. +158 −114 yarn.lock
View
@@ -1,16 +1,48 @@
[ignore]
; We fork some components by platform
.*/*[.]android.js
; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/
; Ignore unexpected extra "@providesModule"
.*/node_modules/.*/node_modules/fbjs/.*
; Ignore duplicate module providers
; For RN Apps installed via npm, "Libraries" folder is inside
; "node_modules/react-native" but in the source repo it is in the root
.*/react-native/.*
.*/Libraries/react-native/React.js
.*/Libraries/react-native/ReactNative.js
; Additional create-react-native-app ignores
; Ignore duplicate module providers
.*/node_modules/fbemitter/lib/*
; Ignore misbehaving dev-dependencies
.*/node_modules/xdl/build/*
.*/node_modules/reqwest/tests/*
; Ignore missing expo-sdk dependencies (temporarily)
; https://github.com/exponent/exponent-sdk/issues/36
.*/node_modules/expo/src/*
; Ignore react-native-fbads dependency of the expo sdk
.*/node_modules/react-native-fbads/*
[include]
[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow
flow/
[options]
module.system=haste
emoji=true
module.system=haste
experimental.strict_type_args=true
munge_underscores=true
@@ -20,12 +52,12 @@ suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-7]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-7]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
unsafe.enable_getters_and_setters=true
[version]
^0.47.0
^0.42.0
View
@@ -11,6 +11,3 @@ coverage/
#IntelliJ
.idea
#Flow
flow-typed
@@ -0,0 +1,73 @@
// flow-typed signature: dc537b24a0c54d15a49cac5c21e1f9b0
// flow-typed version: <<STUB>>/babel-eslint_v^7.2.1/flow_v0.42.0
/**
* This is an autogenerated libdef stub for:
*
* 'babel-eslint'
*
* 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 'babel-eslint' {
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 'babel-eslint/babylon-to-espree/attachComments' {
declare module.exports: any;
}
declare module 'babel-eslint/babylon-to-espree/convertTemplateType' {
declare module.exports: any;
}
declare module 'babel-eslint/babylon-to-espree/index' {
declare module.exports: any;
}
declare module 'babel-eslint/babylon-to-espree/toAST' {
declare module.exports: any;
}
declare module 'babel-eslint/babylon-to-espree/toToken' {
declare module.exports: any;
}
declare module 'babel-eslint/babylon-to-espree/toTokens' {
declare module.exports: any;
}
// Filename aliases
declare module 'babel-eslint/babylon-to-espree/attachComments.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/attachComments'>;
}
declare module 'babel-eslint/babylon-to-espree/convertTemplateType.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/convertTemplateType'>;
}
declare module 'babel-eslint/babylon-to-espree/index.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/index'>;
}
declare module 'babel-eslint/babylon-to-espree/toAST.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/toAST'>;
}
declare module 'babel-eslint/babylon-to-espree/toToken.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/toToken'>;
}
declare module 'babel-eslint/babylon-to-espree/toTokens.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/toTokens'>;
}
declare module 'babel-eslint/index' {
declare module.exports: $Exports<'babel-eslint'>;
}
declare module 'babel-eslint/index.js' {
declare module.exports: $Exports<'babel-eslint'>;
}
@@ -0,0 +1,32 @@
// flow-typed signature: f42c47e174e19c6717cb27c82007c03f
// flow-typed version: <<STUB>>/babel-jest_v^19.0.0/flow_v0.42.0
/**
* This is an autogenerated libdef stub for:
*
* 'babel-jest'
*
* 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 'babel-jest' {
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 'babel-jest/build/index' {
declare module.exports: any;
}
// Filename aliases
declare module 'babel-jest/build/index.js' {
declare module.exports: $Exports<'babel-jest/build/index'>;
}
@@ -0,0 +1,32 @@
// flow-typed signature: 24d4b500d1c478bc1261153aaf11dd1b
// flow-typed version: <<STUB>>/babel-plugin-transform-flow-strip-types_v^6.22.0/flow_v0.42.0
/**
* This is an autogenerated libdef stub for:
*
* 'babel-plugin-transform-flow-strip-types'
*
* 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 'babel-plugin-transform-flow-strip-types' {
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 'babel-plugin-transform-flow-strip-types/lib/index' {
declare module.exports: any;
}
// Filename aliases
declare module 'babel-plugin-transform-flow-strip-types/lib/index.js' {
declare module.exports: $Exports<'babel-plugin-transform-flow-strip-types/lib/index'>;
}
@@ -0,0 +1,32 @@
// flow-typed signature: 52f454bf1f3a744434c473c745cb010f
// flow-typed version: <<STUB>>/babel-preset-es2015_v^6.24.0/flow_v0.42.0
/**
* This is an autogenerated libdef stub for:
*
* 'babel-preset-es2015'
*
* 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 'babel-preset-es2015' {
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 'babel-preset-es2015/lib/index' {
declare module.exports: any;
}
// Filename aliases
declare module 'babel-preset-es2015/lib/index.js' {
declare module.exports: $Exports<'babel-preset-es2015/lib/index'>;
}
@@ -0,0 +1,32 @@
// flow-typed signature: fdc3a47520a28ad9b2d22de38ed1646e
// flow-typed version: <<STUB>>/babel-preset-stage-0_v^6.22.0/flow_v0.42.0
/**
* This is an autogenerated libdef stub for:
*
* 'babel-preset-stage-0'
*
* 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 'babel-preset-stage-0' {
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 'babel-preset-stage-0/lib/index' {
declare module.exports: any;
}
// Filename aliases
declare module 'babel-preset-stage-0/lib/index.js' {
declare module.exports: $Exports<'babel-preset-stage-0/lib/index'>;
}
@@ -0,0 +1,60 @@
// flow-typed signature: 687ee8e739bad33a749227f139248202
// flow-typed version: <<STUB>>/concurrently_v^3.4.0/flow_v0.42.0
/**
* This is an autogenerated libdef stub for:
*
* 'concurrently'
*
* 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 'concurrently' {
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 'concurrently/src/main' {
declare module.exports: any;
}
declare module 'concurrently/test/support/signal' {
declare module.exports: any;
}
declare module 'concurrently/test/test-functional' {
declare module.exports: any;
}
declare module 'concurrently/test/utils' {
declare module.exports: any;
}
declare module 'concurrently/tst' {
declare module.exports: any;
}
// Filename aliases
declare module 'concurrently/src/main.js' {
declare module.exports: $Exports<'concurrently/src/main'>;
}
declare module 'concurrently/test/support/signal.js' {
declare module.exports: $Exports<'concurrently/test/support/signal'>;
}
declare module 'concurrently/test/test-functional.js' {
declare module.exports: $Exports<'concurrently/test/test-functional'>;
}
declare module 'concurrently/test/utils.js' {
declare module.exports: $Exports<'concurrently/test/utils'>;
}
declare module 'concurrently/tst.js' {
declare module.exports: $Exports<'concurrently/tst'>;
}
Oops, something went wrong.

0 comments on commit 852f792

Please sign in to comment.