Skip to content

Commit 7a5811a

Browse files
committed
flow: Update libdefs.
This is partly a followup task from the RN v0.59 upgrade, #3399; we've upgraded a lot of dependencies, so we should upgrade the libdefs to match. Done with: $ yarn update-libdefs This turned up a couple of type errors, because there's now a real libdef for WebView! Marked those with fixmes; will fix properly next.
1 parent ed490db commit 7a5811a

File tree

61 files changed

+1918
-2327
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1918
-2327
lines changed

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

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 437bd829336b4ebb9e979f517332f772
2-
// flow-typed version: <<STUB>>/@babel/core_v^7.1.2/flow_v0.78.0
1+
// flow-typed signature: 784dca23415d14a3464a5439193fb6db
2+
// flow-typed version: <<STUB>>/@babel/core_v^7.4.5/flow_v0.92.0
33

44
/**
55
* This is an autogenerated libdef stub for:
@@ -42,7 +42,7 @@ declare module '@babel/core/lib/config/files/index-browser' {
4242
declare module.exports: any;
4343
}
4444

45-
declare module '@babel/core/lib/config/files/index' {
45+
declare module '@babel/core/lib/config/files' {
4646
declare module.exports: any;
4747
}
4848

@@ -74,7 +74,7 @@ declare module '@babel/core/lib/config/helpers/environment' {
7474
declare module.exports: any;
7575
}
7676

77-
declare module '@babel/core/lib/config/index' {
77+
declare module '@babel/core/lib/config' {
7878
declare module.exports: any;
7979
}
8080

@@ -114,7 +114,7 @@ declare module '@babel/core/lib/config/validation/removed' {
114114
declare module.exports: any;
115115
}
116116

117-
declare module '@babel/core/lib/index' {
117+
declare module '@babel/core/lib' {
118118
declare module.exports: any;
119119
}
120120

@@ -134,10 +134,6 @@ declare module '@babel/core/lib/transform-file-browser' {
134134
declare module.exports: any;
135135
}
136136

137-
declare module '@babel/core/lib/transform-file-sync-browser' {
138-
declare module.exports: any;
139-
}
140-
141137
declare module '@babel/core/lib/transform-file' {
142138
declare module.exports: any;
143139
}
@@ -162,7 +158,7 @@ declare module '@babel/core/lib/transformation/file/merge-map' {
162158
declare module.exports: any;
163159
}
164160

165-
declare module '@babel/core/lib/transformation/index' {
161+
declare module '@babel/core/lib/transformation' {
166162
declare module.exports: any;
167163
}
168164

@@ -198,8 +194,11 @@ declare module '@babel/core/lib/config/files/configuration.js' {
198194
declare module '@babel/core/lib/config/files/index-browser.js' {
199195
declare module.exports: $Exports<'@babel/core/lib/config/files/index-browser'>;
200196
}
197+
declare module '@babel/core/lib/config/files/index' {
198+
declare module.exports: $Exports<'@babel/core/lib/config/files'>;
199+
}
201200
declare module '@babel/core/lib/config/files/index.js' {
202-
declare module.exports: $Exports<'@babel/core/lib/config/files/index'>;
201+
declare module.exports: $Exports<'@babel/core/lib/config/files'>;
203202
}
204203
declare module '@babel/core/lib/config/files/package.js' {
205204
declare module.exports: $Exports<'@babel/core/lib/config/files/package'>;
@@ -222,8 +221,11 @@ declare module '@babel/core/lib/config/helpers/config-api.js' {
222221
declare module '@babel/core/lib/config/helpers/environment.js' {
223222
declare module.exports: $Exports<'@babel/core/lib/config/helpers/environment'>;
224223
}
224+
declare module '@babel/core/lib/config/index' {
225+
declare module.exports: $Exports<'@babel/core/lib/config'>;
226+
}
225227
declare module '@babel/core/lib/config/index.js' {
226-
declare module.exports: $Exports<'@babel/core/lib/config/index'>;
228+
declare module.exports: $Exports<'@babel/core/lib/config'>;
227229
}
228230
declare module '@babel/core/lib/config/item.js' {
229231
declare module.exports: $Exports<'@babel/core/lib/config/item'>;
@@ -252,8 +254,11 @@ declare module '@babel/core/lib/config/validation/plugins.js' {
252254
declare module '@babel/core/lib/config/validation/removed.js' {
253255
declare module.exports: $Exports<'@babel/core/lib/config/validation/removed'>;
254256
}
257+
declare module '@babel/core/lib/index' {
258+
declare module.exports: $Exports<'@babel/core/lib'>;
259+
}
255260
declare module '@babel/core/lib/index.js' {
256-
declare module.exports: $Exports<'@babel/core/lib/index'>;
261+
declare module.exports: $Exports<'@babel/core/lib'>;
257262
}
258263
declare module '@babel/core/lib/parse.js' {
259264
declare module.exports: $Exports<'@babel/core/lib/parse'>;
@@ -267,9 +272,6 @@ declare module '@babel/core/lib/transform-ast.js' {
267272
declare module '@babel/core/lib/transform-file-browser.js' {
268273
declare module.exports: $Exports<'@babel/core/lib/transform-file-browser'>;
269274
}
270-
declare module '@babel/core/lib/transform-file-sync-browser.js' {
271-
declare module.exports: $Exports<'@babel/core/lib/transform-file-sync-browser'>;
272-
}
273275
declare module '@babel/core/lib/transform-file.js' {
274276
declare module.exports: $Exports<'@babel/core/lib/transform-file'>;
275277
}
@@ -288,8 +290,11 @@ declare module '@babel/core/lib/transformation/file/generate.js' {
288290
declare module '@babel/core/lib/transformation/file/merge-map.js' {
289291
declare module.exports: $Exports<'@babel/core/lib/transformation/file/merge-map'>;
290292
}
293+
declare module '@babel/core/lib/transformation/index' {
294+
declare module.exports: $Exports<'@babel/core/lib/transformation'>;
295+
}
291296
declare module '@babel/core/lib/transformation/index.js' {
292-
declare module.exports: $Exports<'@babel/core/lib/transformation/index'>;
297+
declare module.exports: $Exports<'@babel/core/lib/transformation'>;
293298
}
294299
declare module '@babel/core/lib/transformation/normalize-file.js' {
295300
declare module.exports: $Exports<'@babel/core/lib/transformation/normalize-file'>;

flow-typed/npm/@expo/react-native-action-sheet_vx.x.x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 3fd521ce52df0abdfc91c367d9cceedd
2-
// flow-typed version: <<STUB>>/@expo/react-native-action-sheet_v^1.1.0/flow_v0.78.0
1+
// flow-typed signature: 12e641429bca6ac4c78388bcaa679870
2+
// flow-typed version: <<STUB>>/@expo/react-native-action-sheet_v^1.1.0/flow_v0.92.0
33

44
/**
55
* This is an autogenerated libdef stub for:

flow-typed/npm/@remobile/react-native-toast_vx.x.x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: eaf887ef17716a16e27b3e59c76c89d1
2-
// flow-typed version: <<STUB>>/@remobile/react-native-toast_v^1.0.7/flow_v0.78.0
1+
// flow-typed signature: 27b213c44e06e12f94d2bb9aa87087a3
2+
// flow-typed version: <<STUB>>/@remobile/react-native-toast_v^1.0.7/flow_v0.92.0
33

44
/**
55
* This is an autogenerated libdef stub for:

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

Lines changed: 0 additions & 234 deletions
This file was deleted.

0 commit comments

Comments
 (0)