diff --git a/packages/react-native/React/CoreModules/RCTRedBox2Controller+Internal.h b/packages/react-native/React/CoreModules/RCTRedBox2Controller+Internal.h index ec6d6964a2ae..7e51918890d5 100644 --- a/packages/react-native/React/CoreModules/RCTRedBox2Controller+Internal.h +++ b/packages/react-native/React/CoreModules/RCTRedBox2Controller+Internal.h @@ -11,7 +11,7 @@ #if RCT_DEV_MENU -using RCTRedBox2ButtonPressHandler = void (^)(void); +typedef void (^RCTRedBox2ButtonPressHandler)(void); @interface RCTRedBox2Controller : UIViewController