From 73bf40607eb7d8eebab56b97a3e8283b61cb53e0 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Tue, 26 Mar 2024 10:47:58 -0700 Subject: [PATCH] fix: Fix typo in error message (#43650) Summary: Small typo I encountered while trying to build custom C++ type converters :) ## Changelog: [INTERNAL] [FIXED] Fixed a small typo in the "unsupported type" error message Pull Request resolved: https://github.com/facebook/react-native/pull/43650 Reviewed By: zeyap Differential Revision: D55364068 Pulled By: cortinico fbshipit-source-id: 5a1bc9443c82f2473860f379c9ae063cd6e3ceb4 --- .../core/platform/ios/ReactCommon/RCTTurboModule.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm b/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm index be0846fff24..4c6084355df 100644 --- a/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm +++ b/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm @@ -184,7 +184,7 @@ id convertJSIValueToObjCObject(jsi::Runtime &runtime, const jsi::Value &value, s return convertJSIObjectToNSDictionary(runtime, o, jsInvoker); } - throw std::runtime_error("Unsupported jsi::jsi::Value kind"); + throw std::runtime_error("Unsupported jsi::Value kind"); } static jsi::Value createJSRuntimeError(jsi::Runtime &runtime, const std::string &message)