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 +