Skip to content

Commit c2c81d9

Browse files
author
Adam Miskiewicz
committed
Update flow-typed defs
1 parent c209b2d commit c2c81d9

31 files changed

+3964
-345
lines changed

.flowconfig

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,10 @@
2121

2222
; Ignore misc packages
2323
.*/node_modules/eslint-.*
24+
.*/node_modules/react-native-tab-view/.*
2425

25-
; Ignore duplicate module providers
26-
; For RN Apps installed via npm, "Libraries" folder is inside
27-
; "node_modules/react-native" but in the source repo it is in the root
28-
.*/node_modules/react-native/Libraries/react-native/React.js
29-
.*/node_modules/react-native/Libraries/react-native/ReactNative.js
26+
; Ignore react-native
27+
.*/node_modules/react-native/.*
3028

3129
<PROJECT_ROOT>/lib
3230
<PROJECT_ROOT>/lib-rn
@@ -35,9 +33,6 @@
3533
[include]
3634

3735
[libs]
38-
node_modules/react-native/Libraries/react-native/react-native-interface.js
39-
node_modules/react-native/flow/
40-
flow/
4136

4237
[options]
4338
module.system=haste
@@ -47,6 +42,10 @@ experimental.strict_type_args=true
4742
munge_underscores=true
4843

4944
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
45+
module.file_ext=.js
46+
module.file_ext=.jsx
47+
module.file_ext=.json
48+
module.file_ext=.native.js
5049

5150
suppress_type=$FlowIssue
5251
suppress_type=$FlowFixMe

flow-typed/npm/babel-cli_vx.x.x.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: b1c74048f05b9f11f9179ceca00117e2
2-
// flow-typed version: <<STUB>>/babel-cli_v^6.18.0/flow_v0.37.0
1+
// flow-typed signature: 50cccc4d25daa131ce5273d84f010572
2+
// flow-typed version: <<STUB>>/babel-cli_v^6.24.1/flow_v0.49.1
33

44
/**
55
* This is an autogenerated libdef stub for:
@@ -8,8 +8,8 @@
88
*
99
* Fill this stub out by replacing all the `any` types.
1010
*
11-
* Once filled out, we encourage you to share your work with the
12-
* community by sending a pull request to:
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
1313
* https://github.com/flowtype/flow-typed
1414
*/
1515

flow-typed/npm/babel-core_vx.x.x.js

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: b0378db1d784937726ae12c16aa220bf
2-
// flow-typed version: <<STUB>>/babel-core_v^6.18.2/flow_v0.37.0
1+
// flow-typed signature: b44c78d7279f78b485d76b15c08cd683
2+
// flow-typed version: <<STUB>>/babel-core_v^6.24.1/flow_v0.49.1
33

44
/**
55
* This is an autogenerated libdef stub for:
@@ -8,8 +8,8 @@
88
*
99
* Fill this stub out by replacing all the `any` types.
1010
*
11-
* Once filled out, we encourage you to share your work with the
12-
* community by sending a pull request to:
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
1313
* https://github.com/flowtype/flow-typed
1414
*/
1515

@@ -30,6 +30,14 @@ declare module 'babel-core/lib/api/node' {
3030
declare module.exports: any;
3131
}
3232

33+
declare module 'babel-core/lib/helpers/get-possible-plugin-names' {
34+
declare module.exports: any;
35+
}
36+
37+
declare module 'babel-core/lib/helpers/get-possible-preset-names' {
38+
declare module.exports: any;
39+
}
40+
3341
declare module 'babel-core/lib/helpers/merge' {
3442
declare module.exports: any;
3543
}
@@ -38,6 +46,18 @@ declare module 'babel-core/lib/helpers/normalize-ast' {
3846
declare module.exports: any;
3947
}
4048

49+
declare module 'babel-core/lib/helpers/resolve-from-possible-names' {
50+
declare module.exports: any;
51+
}
52+
53+
declare module 'babel-core/lib/helpers/resolve-plugin' {
54+
declare module.exports: any;
55+
}
56+
57+
declare module 'babel-core/lib/helpers/resolve-preset' {
58+
declare module.exports: any;
59+
}
60+
4161
declare module 'babel-core/lib/helpers/resolve' {
4262
declare module.exports: any;
4363
}
@@ -127,12 +147,27 @@ declare module 'babel-core/lib/api/browser.js' {
127147
declare module 'babel-core/lib/api/node.js' {
128148
declare module.exports: $Exports<'babel-core/lib/api/node'>;
129149
}
150+
declare module 'babel-core/lib/helpers/get-possible-plugin-names.js' {
151+
declare module.exports: $Exports<'babel-core/lib/helpers/get-possible-plugin-names'>;
152+
}
153+
declare module 'babel-core/lib/helpers/get-possible-preset-names.js' {
154+
declare module.exports: $Exports<'babel-core/lib/helpers/get-possible-preset-names'>;
155+
}
130156
declare module 'babel-core/lib/helpers/merge.js' {
131157
declare module.exports: $Exports<'babel-core/lib/helpers/merge'>;
132158
}
133159
declare module 'babel-core/lib/helpers/normalize-ast.js' {
134160
declare module.exports: $Exports<'babel-core/lib/helpers/normalize-ast'>;
135161
}
162+
declare module 'babel-core/lib/helpers/resolve-from-possible-names.js' {
163+
declare module.exports: $Exports<'babel-core/lib/helpers/resolve-from-possible-names'>;
164+
}
165+
declare module 'babel-core/lib/helpers/resolve-plugin.js' {
166+
declare module.exports: $Exports<'babel-core/lib/helpers/resolve-plugin'>;
167+
}
168+
declare module 'babel-core/lib/helpers/resolve-preset.js' {
169+
declare module.exports: $Exports<'babel-core/lib/helpers/resolve-preset'>;
170+
}
136171
declare module 'babel-core/lib/helpers/resolve.js' {
137172
declare module.exports: $Exports<'babel-core/lib/helpers/resolve'>;
138173
}

flow-typed/npm/babel-eslint_vx.x.x.js

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 1c9bec8ce6fd389e61c1c246d35bb7c5
2-
// flow-typed version: <<STUB>>/babel-eslint_v^7.0.0/flow_v0.37.0
1+
// flow-typed signature: 1bf74b25fb82cd002e8b966a31086e1a
2+
// flow-typed version: <<STUB>>/babel-eslint_v^7.2.3/flow_v0.49.1
33

44
/**
55
* This is an autogenerated libdef stub for:
@@ -8,8 +8,8 @@
88
*
99
* Fill this stub out by replacing all the `any` types.
1010
*
11-
* Once filled out, we encourage you to share your work with the
12-
* community by sending a pull request to:
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
1313
* https://github.com/flowtype/flow-typed
1414
*/
1515

@@ -26,6 +26,10 @@ declare module 'babel-eslint/babylon-to-espree/attachComments' {
2626
declare module.exports: any;
2727
}
2828

29+
declare module 'babel-eslint/babylon-to-espree/convertComments' {
30+
declare module.exports: any;
31+
}
32+
2933
declare module 'babel-eslint/babylon-to-espree/convertTemplateType' {
3034
declare module.exports: any;
3135
}
@@ -50,6 +54,9 @@ declare module 'babel-eslint/babylon-to-espree/toTokens' {
5054
declare module 'babel-eslint/babylon-to-espree/attachComments.js' {
5155
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/attachComments'>;
5256
}
57+
declare module 'babel-eslint/babylon-to-espree/convertComments.js' {
58+
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/convertComments'>;
59+
}
5360
declare module 'babel-eslint/babylon-to-espree/convertTemplateType.js' {
5461
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/convertTemplateType'>;
5562
}

flow-typed/npm/babel-jest_vx.x.x.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 857bbea11904991ace904e4eb98bb2af
2-
// flow-typed version: <<STUB>>/babel-jest_v^17.0.2/flow_v0.37.0
1+
// flow-typed signature: 02359da7064195804e62c853de1fc44e
2+
// flow-typed version: <<STUB>>/babel-jest_v^20.0.1/flow_v0.49.1
33

44
/**
55
* This is an autogenerated libdef stub for:
@@ -8,8 +8,8 @@
88
*
99
* Fill this stub out by replacing all the `any` types.
1010
*
11-
* Once filled out, we encourage you to share your work with the
12-
* community by sending a pull request to:
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
1313
* https://github.com/flowtype/flow-typed
1414
*/
1515

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// flow-typed signature: c062ec7795b0fd3de749c140ded3d740
2+
// flow-typed version: <<STUB>>/babel-plugin-flow-react-proptypes_v^2.2.1/flow_v0.49.1
3+
4+
/**
5+
* This is an autogenerated libdef stub for:
6+
*
7+
* 'babel-plugin-flow-react-proptypes'
8+
*
9+
* Fill this stub out by replacing all the `any` types.
10+
*
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
13+
* https://github.com/flowtype/flow-typed
14+
*/
15+
16+
declare module 'babel-plugin-flow-react-proptypes' {
17+
declare module.exports: any;
18+
}
19+
20+
/**
21+
* We include stubs for each file inside this npm package in case you need to
22+
* require those files directly. Feel free to delete any files that aren't
23+
* needed.
24+
*/
25+
declare module 'babel-plugin-flow-react-proptypes/lib/convertToPropTypes' {
26+
declare module.exports: any;
27+
}
28+
29+
declare module 'babel-plugin-flow-react-proptypes/lib/index' {
30+
declare module.exports: any;
31+
}
32+
33+
declare module 'babel-plugin-flow-react-proptypes/lib/makePropTypesAst' {
34+
declare module.exports: any;
35+
}
36+
37+
declare module 'babel-plugin-flow-react-proptypes/lib/util' {
38+
declare module.exports: any;
39+
}
40+
41+
// Filename aliases
42+
declare module 'babel-plugin-flow-react-proptypes/lib/convertToPropTypes.js' {
43+
declare module.exports: $Exports<'babel-plugin-flow-react-proptypes/lib/convertToPropTypes'>;
44+
}
45+
declare module 'babel-plugin-flow-react-proptypes/lib/index.js' {
46+
declare module.exports: $Exports<'babel-plugin-flow-react-proptypes/lib/index'>;
47+
}
48+
declare module 'babel-plugin-flow-react-proptypes/lib/makePropTypesAst.js' {
49+
declare module.exports: $Exports<'babel-plugin-flow-react-proptypes/lib/makePropTypesAst'>;
50+
}
51+
declare module 'babel-plugin-flow-react-proptypes/lib/util.js' {
52+
declare module.exports: $Exports<'babel-plugin-flow-react-proptypes/lib/util'>;
53+
}

flow-typed/npm/babel-preset-es2015_vx.x.x.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 6bc70afacfe0b49915c0557886b866c0
2-
// flow-typed version: <<STUB>>/babel-preset-es2015_v^6.18.0/flow_v0.37.0
1+
// flow-typed signature: 245300d27bbcd9eed2c688a7d1073392
2+
// flow-typed version: <<STUB>>/babel-preset-es2015_v^6.24.1/flow_v0.49.1
33

44
/**
55
* This is an autogenerated libdef stub for:
@@ -8,8 +8,8 @@
88
*
99
* Fill this stub out by replacing all the `any` types.
1010
*
11-
* Once filled out, we encourage you to share your work with the
12-
* community by sending a pull request to:
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
1313
* https://github.com/flowtype/flow-typed
1414
*/
1515

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// flow-typed signature: 85f35727e0cc7a372bd958ff80f08110
2+
// flow-typed version: <<STUB>>/babel-preset-react-native-stage-0_v^1.0.1/flow_v0.49.1
3+
4+
/**
5+
* This is an autogenerated libdef stub for:
6+
*
7+
* 'babel-preset-react-native-stage-0'
8+
*
9+
* Fill this stub out by replacing all the `any` types.
10+
*
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
13+
* https://github.com/flowtype/flow-typed
14+
*/
15+
16+
declare module 'babel-preset-react-native-stage-0' {
17+
declare module.exports: any;
18+
}
19+
20+
/**
21+
* We include stubs for each file inside this npm package in case you need to
22+
* require those files directly. Feel free to delete any files that aren't
23+
* needed.
24+
*/
25+
declare module 'babel-preset-react-native-stage-0/decorator-support' {
26+
declare module.exports: any;
27+
}
28+
29+
// Filename aliases
30+
declare module 'babel-preset-react-native-stage-0/decorator-support.js' {
31+
declare module.exports: $Exports<'babel-preset-react-native-stage-0/decorator-support'>;
32+
}
33+
declare module 'babel-preset-react-native-stage-0/index' {
34+
declare module.exports: $Exports<'babel-preset-react-native-stage-0'>;
35+
}
36+
declare module 'babel-preset-react-native-stage-0/index.js' {
37+
declare module.exports: $Exports<'babel-preset-react-native-stage-0'>;
38+
}

flow-typed/npm/babel-preset-react-native-syntax_vx.x.x.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: f81837494149f0b7e37e2dea1e774496
2-
// flow-typed version: <<STUB>>/babel-preset-react-native-syntax_v^1.0.0/flow_v0.37.0
1+
// flow-typed signature: ad52b8fa9995651201720389a0746966
2+
// flow-typed version: <<STUB>>/babel-preset-react-native-syntax_v^1.0.0/flow_v0.49.1
33

44
/**
55
* This is an autogenerated libdef stub for:
@@ -8,8 +8,8 @@
88
*
99
* Fill this stub out by replacing all the `any` types.
1010
*
11-
* Once filled out, we encourage you to share your work with the
12-
* community by sending a pull request to:
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
1313
* https://github.com/flowtype/flow-typed
1414
*/
1515

flow-typed/npm/babel-preset-react-native_vx.x.x.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 2ac38a3f71516b7f69ed258dc00ec7d6
2-
// flow-typed version: <<STUB>>/babel-preset-react-native_v^1.9.0/flow_v0.37.0
1+
// flow-typed signature: b132a45b70b401796d625d8180574c91
2+
// flow-typed version: <<STUB>>/babel-preset-react-native_v^1.9.2/flow_v0.49.1
33

44
/**
55
* This is an autogenerated libdef stub for:
@@ -8,8 +8,8 @@
88
*
99
* Fill this stub out by replacing all the `any` types.
1010
*
11-
* Once filled out, we encourage you to share your work with the
12-
* community by sending a pull request to:
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
1313
* https://github.com/flowtype/flow-typed
1414
*/
1515

flow-typed/npm/babel-preset-react_vx.x.x.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: dea3aea052d70d190e83a8fd2ceac38e
2-
// flow-typed version: <<STUB>>/babel-preset-react_v^6.16.0/flow_v0.37.0
1+
// flow-typed signature: 56127a0e27b24bbabb45b01aa4c6768a
2+
// flow-typed version: <<STUB>>/babel-preset-react_v^6.24.1/flow_v0.49.1
33

44
/**
55
* This is an autogenerated libdef stub for:
@@ -8,8 +8,8 @@
88
*
99
* Fill this stub out by replacing all the `any` types.
1010
*
11-
* Once filled out, we encourage you to share your work with the
12-
* community by sending a pull request to:
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
1313
* https://github.com/flowtype/flow-typed
1414
*/
1515

flow-typed/npm/babel-preset-stage-1_vx.x.x.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 5af7dc07b1c2948498099def76a10fce
2-
// flow-typed version: <<STUB>>/babel-preset-stage-1_v^6.16.0/flow_v0.37.0
1+
// flow-typed signature: 76ca3ede38f503bec8f3b45f45389773
2+
// flow-typed version: <<STUB>>/babel-preset-stage-1_v^6.24.1/flow_v0.49.1
33

44
/**
55
* This is an autogenerated libdef stub for:
@@ -8,8 +8,8 @@
88
*
99
* Fill this stub out by replacing all the `any` types.
1010
*
11-
* Once filled out, we encourage you to share your work with the
12-
* community by sending a pull request to:
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
1313
* https://github.com/flowtype/flow-typed
1414
*/
1515

0 commit comments

Comments
 (0)