Skip to content

Commit

Permalink
Remove dangling semicolons from RCT macros (#2097)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi authored Mar 13, 2024
1 parent 41f5eed commit 3b61873
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-native/React/Base/RCTBridgeModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ RCT_EXTERN_C_END
*/
#define RCT_REMAP_METHOD(js_name, method) \
_RCT_EXTERN_REMAP_METHOD(js_name, method, NO) \
-(void)method RCT_DYNAMIC;
-(void)method RCT_DYNAMIC

/**
* Similar to RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD but lets you set
Expand All @@ -256,7 +256,7 @@ RCT_EXTERN_C_END
*/
#define RCT_REMAP_BLOCKING_SYNCHRONOUS_METHOD(js_name, returnType, method) \
_RCT_EXTERN_REMAP_METHOD(js_name, method, YES) \
-(returnType)method RCT_DYNAMIC;
-(returnType)method RCT_DYNAMIC

/**
* Use this macro in a private Objective-C implementation file to automatically
Expand Down

0 comments on commit 3b61873

Please sign in to comment.