Skip to content

Commit 58e9b8e

Browse files
authored
Upgrade Flow in fbsource (#2322)
Summary: X-link: react/react-native#60445 Upgrade Flow to the 0.343.0 build of December 1 in the first-party Flow roots, with 30 generated release suppressions. Flow now reports a call with the wrong number of arguments for a fixed-length tuple rest parameter as `extra-arg` or `incompatible-type` instead of `invalid-tuple-arity`, so `EventEmitter-flowtest.js` drops the `invalid-tuple-arity` codes that it kept for 0.342. Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D135432013 Pull Request resolved: #2322
1 parent 835f42a commit 58e9b8e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎packages/metro-config/src/loadConfig.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,14 @@ function mergeConfigObjects<T extends InputConfigT>(
138138
},
139139
},
140140
serializer: {
141+
// $FlowFixMe[exponential-spread]
141142
...base.serializer,
142143
// $FlowFixMe[exponential-spread]
143144
...overrides.serializer,
144145
},
145146
transformer: {
146147
...base.transformer,
148+
// $FlowFixMe[exponential-spread]
147149
...overrides.transformer,
148150
// $FlowFixMe[exponential-spread]
149151
...(overrides.transformer?.babelTransformerPath != null
@@ -174,11 +176,13 @@ function mergeConfigObjects<T extends InputConfigT>(
174176
: null),
175177
},
176178
symbolicator: {
179+
// $FlowFixMe[exponential-spread]
177180
...base.symbolicator,
178181
// $FlowFixMe[exponential-spread]
179182
...overrides.symbolicator,
180183
},
181184
watcher: {
185+
// $FlowFixMe[exponential-spread]
182186
...base.watcher,
183187
// $FlowFixMe[exponential-spread]
184188
...overrides.watcher,

0 commit comments

Comments
 (0)