mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove unneeded @synthesize bridge from NativeModules
Summary: This is a codemod. All these NativeModules demand access to the bridge. However, they don't use it. Changelog: [Internal] Reviewed By: PeteTheHeat, RoelCastano Differential Revision: D25386708 fbshipit-source-id: f05f4777d2527e96e53581e7ac58f6be47411dce
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f52e3b3e8b
commit
408bcdeedb
@@ -23,7 +23,6 @@
|
||||
|
||||
RCT_EXPORT_MODULE(FileReaderModule)
|
||||
|
||||
@synthesize bridge = _bridge;
|
||||
@synthesize turboModuleRegistry = _turboModuleRegistry;
|
||||
|
||||
RCT_EXPORT_METHOD(readAsText:(NSDictionary<NSString *, id> *)blob
|
||||
|
||||
@@ -17,7 +17,6 @@ using namespace facebook::react;
|
||||
// Backward-compatible export
|
||||
RCT_EXPORT_MODULE()
|
||||
|
||||
@synthesize bridge = _bridge;
|
||||
@synthesize turboModuleRegistry = _turboModuleRegistry;
|
||||
|
||||
// Backward-compatible queue configuration
|
||||
|
||||
Reference in New Issue
Block a user