diff --git a/packages/react-native/React/CoreModules/RCTPerfMonitor.mm b/packages/react-native/React/CoreModules/RCTPerfMonitor.mm index 34f29744c2e..86eabc6fb20 100644 --- a/packages/react-native/React/CoreModules/RCTPerfMonitor.mm +++ b/packages/react-native/React/CoreModules/RCTPerfMonitor.mm @@ -39,7 +39,7 @@ static NSString *const RCTPerfMonitorCellIdentifier = @"RCTPerfMonitorCellIdenti static const CGFloat RCTPerfMonitorBarHeight = 50; static const CGFloat RCTPerfMonitorExpandHeight = 250; -typedef BOOL (*RCTJSCSetOptionType)(const char *); +using RCTJSCSetOptionType = BOOL (*)(const char *); NSArray *LabelsForRCTPerformanceLoggerTags();