@@ -349,7 +349,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getAlias(jsi:
349349static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
350350 return static_cast <NativeSampleTurboModuleCxxSpecJSI *>(& turboModule )- > getRootTag (
351351 rt ,
352- args [0 ].getNumber ()
352+ args [0 ].asNumber ()
353353 );
354354}
355355static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValue(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
@@ -550,7 +550,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleNullableCxxSpecJSI_getAl
550550static jsi::Value __hostFunction_NativeSampleTurboModuleNullableCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
551551 auto result = static_cast <NativeSampleTurboModuleNullableCxxSpecJSI *>(& turboModule )- > getRootTag (
552552 rt ,
553- args [0 ].isNull () || args [0 ].isUndefined () ? std : :nullopt : std ::make_optional (args [0 ].getNumber ())
553+ args [0 ].isNull () || args [0 ].isUndefined () ? std : :nullopt : std ::make_optional (args [0 ].asNumber ())
554554 );
555555 return result ? jsi : :Value (std ::move (* result )) : jsi ::Value ::null ();
556556}
@@ -656,7 +656,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleNullableAndOptionalCxxSp
656656static jsi::Value __hostFunction_NativeSampleTurboModuleNullableAndOptionalCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
657657 auto result = static_cast <NativeSampleTurboModuleNullableAndOptionalCxxSpecJSI *>(& turboModule )- > getRootTag (
658658 rt ,
659- count <= 0 || args [0 ].isNull () || args [0 ].isUndefined () ? std : :nullopt : std ::make_optional (args [0 ].getNumber ())
659+ count <= 0 || args [0 ].isNull () || args [0 ].isUndefined () ? std : :nullopt : std ::make_optional (args [0 ].asNumber ())
660660 );
661661 return result ? jsi : :Value (std ::move (* result )) : jsi ::Value ::null ();
662662}
@@ -756,7 +756,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleOptionalCxxSpecJSI_getAl
756756static jsi::Value __hostFunction_NativeSampleTurboModuleOptionalCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
757757 return static_cast <NativeSampleTurboModuleOptionalCxxSpecJSI *>(& turboModule )- > getRootTag (
758758 rt ,
759- count <= 0 || args [0 ].isNull () || args [0 ].isUndefined () ? std : :nullopt : std ::make_optional (args [0 ].getNumber ())
759+ count <= 0 || args [0 ].isNull () || args [0 ].isUndefined () ? std : :nullopt : std ::make_optional (args [0 ].asNumber ())
760760 );
761761}
762762static jsi::Value __hostFunction_NativeSampleTurboModuleOptionalCxxSpecJSI_getValue(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
@@ -1170,7 +1170,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getAlias(jsi:
11701170static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
11711171 return static_cast <NativeSampleTurboModuleCxxSpecJSI *>(& turboModule )- > getRootTag (
11721172 rt ,
1173- args [0 ].getNumber ()
1173+ args [0 ].asNumber ()
11741174 );
11751175}
11761176static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValue(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
@@ -1371,7 +1371,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleNullableCxxSpecJSI_getAl
13711371static jsi::Value __hostFunction_NativeSampleTurboModuleNullableCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
13721372 auto result = static_cast <NativeSampleTurboModuleNullableCxxSpecJSI *>(& turboModule )- > getRootTag (
13731373 rt ,
1374- args [0 ].isNull () || args [0 ].isUndefined () ? std : :nullopt : std ::make_optional (args [0 ].getNumber ())
1374+ args [0 ].isNull () || args [0 ].isUndefined () ? std : :nullopt : std ::make_optional (args [0 ].asNumber ())
13751375 );
13761376 return result ? jsi : :Value (std ::move (* result )) : jsi ::Value ::null ();
13771377}
@@ -1477,7 +1477,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleNullableAndOptionalCxxSp
14771477static jsi::Value __hostFunction_NativeSampleTurboModuleNullableAndOptionalCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
14781478 auto result = static_cast <NativeSampleTurboModuleNullableAndOptionalCxxSpecJSI *>(& turboModule )- > getRootTag (
14791479 rt ,
1480- count <= 0 || args [0 ].isNull () || args [0 ].isUndefined () ? std : :nullopt : std ::make_optional (args [0 ].getNumber ())
1480+ count <= 0 || args [0 ].isNull () || args [0 ].isUndefined () ? std : :nullopt : std ::make_optional (args [0 ].asNumber ())
14811481 );
14821482 return result ? jsi : :Value (std ::move (* result )) : jsi ::Value ::null ();
14831483}
@@ -1577,7 +1577,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleOptionalCxxSpecJSI_getAl
15771577static jsi::Value __hostFunction_NativeSampleTurboModuleOptionalCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
15781578 return static_cast <NativeSampleTurboModuleOptionalCxxSpecJSI *>(& turboModule )- > getRootTag (
15791579 rt ,
1580- count <= 0 || args [0 ].isNull () || args [0 ].isUndefined () ? std : :nullopt : std ::make_optional (args [0 ].getNumber ())
1580+ count <= 0 || args [0 ].isNull () || args [0 ].isUndefined () ? std : :nullopt : std ::make_optional (args [0 ].asNumber ())
15811581 );
15821582}
15831583static jsi::Value __hostFunction_NativeSampleTurboModuleOptionalCxxSpecJSI_getValue(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
0 commit comments