fix: Fix namespace

This commit is contained in:
Marc Rousavy 2023-07-31 11:34:21 +02:00
parent 78a64abb8c
commit deeb8db59f

View File

@ -27,6 +27,8 @@
using namespace facebook;
using namespace facebook::react;
namespace JSINSObjectConversion {
jsi::Value convertNSNumberToJSIBoolean(jsi::Runtime &runtime, NSNumber *value)
{
return jsi::Value((bool)[value boolValue]);
@ -212,3 +214,5 @@ RCTResponseSenderBlock convertJSIFunctionToCallback(jsi::Runtime &runtime, const
return [callback copy];
}
} // namespace JSIJNIObjectConversion