Skip to content

Commit

Permalink
flow types for Hoc and Facc
Browse files Browse the repository at this point in the history
  • Loading branch information
rgommezz committed May 27, 2017
1 parent fa280d7 commit 852f792
Show file tree
Hide file tree
Showing 34 changed files with 6,834 additions and 154 deletions.
42 changes: 37 additions & 5 deletions .flowconfig
@@ -1,16 +1,48 @@
[ignore] [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 ; Ignore duplicate module providers
; For RN Apps installed via npm, "Libraries" folder is inside ; For RN Apps installed via npm, "Libraries" folder is inside
; "node_modules/react-native" but in the source repo it is in the root ; "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] [include]


[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow
flow/

[options] [options]
module.system=haste

emoji=true emoji=true


module.system=haste experimental.strict_type_args=true


munge_underscores=true munge_underscores=true


Expand All @@ -20,12 +52,12 @@ suppress_type=$FlowIssue
suppress_type=$FlowFixMe suppress_type=$FlowFixMe
suppress_type=$FixMe 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\\)*\\$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-7]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+ 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\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError


unsafe.enable_getters_and_setters=true unsafe.enable_getters_and_setters=true


[version] [version]
^0.47.0 ^0.42.0
3 changes: 0 additions & 3 deletions .gitignore
Expand Up @@ -11,6 +11,3 @@ coverage/


#IntelliJ #IntelliJ
.idea .idea

#Flow
flow-typed
73 changes: 73 additions & 0 deletions flow-typed/npm/babel-eslint_vx.x.x.js
@@ -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'>;
}
32 changes: 32 additions & 0 deletions flow-typed/npm/babel-jest_vx.x.x.js
@@ -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'>;
}
32 changes: 32 additions & 0 deletions flow-typed/npm/babel-plugin-transform-flow-strip-types_vx.x.x.js
@@ -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'>;
}
32 changes: 32 additions & 0 deletions flow-typed/npm/babel-preset-es2015_vx.x.x.js
@@ -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'>;
}
32 changes: 32 additions & 0 deletions flow-typed/npm/babel-preset-stage-0_vx.x.x.js
@@ -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'>;
}
60 changes: 60 additions & 0 deletions flow-typed/npm/concurrently_vx.x.x.js
@@ -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'>;
}

0 comments on commit 852f792

Please sign in to comment.