mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix CQS signal modernize-use-using in xplat/js/react-native-github/packages/react-native/React/CoreModules
Reviewed By: dtolnay Differential Revision: D77990272
This commit is contained in:
committed by
Facebook GitHub Bot
parent
586f5ba89c
commit
57531c1496
@@ -78,7 +78,7 @@ RCT_EXTERN NSString *const RCTShowDevMenuNotification;
|
||||
|
||||
@end
|
||||
|
||||
typedef NSString * (^RCTDevMenuItemTitleBlock)(void);
|
||||
using RCTDevMenuItemTitleBlock = NSString * (^)();
|
||||
|
||||
/**
|
||||
* Developer menu item, used to expose additional functionality via the menu.
|
||||
|
||||
@@ -87,7 +87,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)init)
|
||||
|
||||
@end
|
||||
|
||||
typedef void (^RCTDevMenuAlertActionHandler)(UIAlertAction *action);
|
||||
using RCTDevMenuAlertActionHandler = void (^)(UIAlertAction *__strong);
|
||||
|
||||
@interface RCTDevMenu () <RCTBridgeModule, RCTInvalidating, NativeDevMenuSpec>
|
||||
|
||||
|
||||
@@ -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<NSString *> *LabelsForRCTPerformanceLoggerTags();
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
@class RCTJSStackFrame;
|
||||
|
||||
typedef void (^RCTRedBoxButtonPressHandler)(void);
|
||||
using RCTRedBoxButtonPressHandler = void (^)();
|
||||
|
||||
@interface RCTRedBox : NSObject <RCTBridgeModule>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user