From e0263494b7982256823c8bdf58706017de512a73 Mon Sep 17 00:00:00 2001 From: DevmateXplatFlowFixMeFBFoundation Bot Date: Tue, 29 Sep 2026 06:28:09 -0700 Subject: [PATCH] xplat/js/RKJSModules/Marketplace/.claude/workflows/nostos/latency/nostos-xplat-latency-audit.js (#58737) Summary: Pull Request resolved: https://github.com/react/react-native/pull/58737 Differential Revision: D122304972 --- .../Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/react-native/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js b/packages/react-native/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js index 1005f39f5630..bae498ac057e 100644 --- a/packages/react-native/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js +++ b/packages/react-native/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js @@ -76,9 +76,7 @@ function deepFreezeAndThrowOnMutationInDev>( return object; } -/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's - * LTI update could not be added via codemod */ -function throwOnImmutableMutation(key: empty, value) { +function throwOnImmutableMutation(key: empty, value: unknown) { throw Error( 'You attempted to set the key `' + key +