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:
generatedunixname1026736676487289 authored and meta-codesync[bot] committed 2026-10-14 04:43:11 -07:00
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);