From 72947368c51d2708b116ba382775061e21465bbf Mon Sep 17 00:00:00 2001 From: DevmateXplatFlowFixMeFBFoundation Bot Date: Sun, 27 Sep 2026 08:49:38 -0700 Subject: [PATCH] xplat/js/react-native-github/packages/react-native/Libraries/Utilities/PlatformTypes.fb.js Differential Revision: D121830860 --- packages/react-native/Libraries/LogBox/UI/AnsiHighlight.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/react-native/Libraries/LogBox/UI/AnsiHighlight.js b/packages/react-native/Libraries/LogBox/UI/AnsiHighlight.js index 26f25b6b8578..08f97780e8b3 100644 --- a/packages/react-native/Libraries/LogBox/UI/AnsiHighlight.js +++ b/packages/react-native/Libraries/LogBox/UI/AnsiHighlight.js @@ -68,9 +68,7 @@ export default function Ansi({ } }); - /* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's - * LTI update could not be added via codemod */ - const getText = (content, key) => { + const getText = (content: string, key: number): string => { if (key === 0) { return LRM + content; } else if (key === 1) {