mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Replace MethodCallResult with folly::Optional
Reviewed By: AaaChiuuu Differential Revision: D4481987 fbshipit-source-id: 945dd671eb2482f3c6b626192aa2181c5bfd906f
This commit is contained in:
committed by
Facebook Github Bot
parent
7812b82b18
commit
4d2512aef9
@@ -119,7 +119,7 @@ void RCTNativeModule::invoke(ExecutorToken token, unsigned int methodId, folly::
|
||||
MethodCallResult RCTNativeModule::callSerializableNativeHook(
|
||||
ExecutorToken token, unsigned int reactMethodId, folly::dynamic &¶ms) {
|
||||
RCTFatal(RCTErrorWithMessage(@"callSerializableNativeHook is not yet supported on iOS"));
|
||||
return {nullptr, true};
|
||||
return folly::none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user