mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Upgrade Flow in fbsource (#59066)
Summary: Pull Request resolved: https://github.com/react/react-native/pull/59066 Reviewed By: SamChou19815 Differential Revision: D125180100 fbshipit-source-id: 11395040d339bfeb5a841f17b9ac8cb0722f197c
This commit is contained in:
1 parent
f7cb270fba
commit
892ea5e45d
1 file changed
+1
@@ -205,6 +205,7 @@ function structuredCloneInternal(value: unknown): unknown {
|
||||
if (!Array.isArray(errors)) {
|
||||
throw new TypeError('AggregateError errors must be an array');
|
||||
}
|
||||
// $FlowFixMe[incompatible-type]
|
||||
result.errors = errors;
|
||||
|
||||
cloneErrorProperties(value, result);
|
||||
|
||||
Reference in new issue
Block a user