@@ -349,7 +349,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getAlias(jsi:
349
349
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
350
350
return static_cast <NativeSampleTurboModuleCxxSpecJSI *>(& turboModule )- > getRootTag (
351
351
rt ,
352
- args [0 ].getNumber ()
352
+ args [0 ].asNumber ()
353
353
);
354
354
}
355
355
static 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
550
550
static jsi::Value __hostFunction_NativeSampleTurboModuleNullableCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
551
551
auto result = static_cast <NativeSampleTurboModuleNullableCxxSpecJSI *>(& turboModule )- > getRootTag (
552
552
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 ())
554
554
);
555
555
return result ? jsi : :Value (std ::move (* result )) : jsi ::Value ::null ();
556
556
}
@@ -656,7 +656,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleNullableAndOptionalCxxSp
656
656
static jsi::Value __hostFunction_NativeSampleTurboModuleNullableAndOptionalCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
657
657
auto result = static_cast <NativeSampleTurboModuleNullableAndOptionalCxxSpecJSI *>(& turboModule )- > getRootTag (
658
658
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 ())
660
660
);
661
661
return result ? jsi : :Value (std ::move (* result )) : jsi ::Value ::null ();
662
662
}
@@ -756,7 +756,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleOptionalCxxSpecJSI_getAl
756
756
static jsi::Value __hostFunction_NativeSampleTurboModuleOptionalCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
757
757
return static_cast <NativeSampleTurboModuleOptionalCxxSpecJSI *>(& turboModule )- > getRootTag (
758
758
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 ())
760
760
);
761
761
}
762
762
static 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:
1170
1170
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
1171
1171
return static_cast <NativeSampleTurboModuleCxxSpecJSI *>(& turboModule )- > getRootTag (
1172
1172
rt ,
1173
- args [0 ].getNumber ()
1173
+ args [0 ].asNumber ()
1174
1174
);
1175
1175
}
1176
1176
static 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
1371
1371
static jsi::Value __hostFunction_NativeSampleTurboModuleNullableCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
1372
1372
auto result = static_cast <NativeSampleTurboModuleNullableCxxSpecJSI *>(& turboModule )- > getRootTag (
1373
1373
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 ())
1375
1375
);
1376
1376
return result ? jsi : :Value (std ::move (* result )) : jsi ::Value ::null ();
1377
1377
}
@@ -1477,7 +1477,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleNullableAndOptionalCxxSp
1477
1477
static jsi::Value __hostFunction_NativeSampleTurboModuleNullableAndOptionalCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
1478
1478
auto result = static_cast <NativeSampleTurboModuleNullableAndOptionalCxxSpecJSI *>(& turboModule )- > getRootTag (
1479
1479
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 ())
1481
1481
);
1482
1482
return result ? jsi : :Value (std ::move (* result )) : jsi ::Value ::null ();
1483
1483
}
@@ -1577,7 +1577,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleOptionalCxxSpecJSI_getAl
1577
1577
static jsi::Value __hostFunction_NativeSampleTurboModuleOptionalCxxSpecJSI_getRootTag(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
1578
1578
return static_cast <NativeSampleTurboModuleOptionalCxxSpecJSI *>(& turboModule )- > getRootTag (
1579
1579
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 ())
1581
1581
);
1582
1582
}
1583
1583
static jsi::Value __hostFunction_NativeSampleTurboModuleOptionalCxxSpecJSI_getValue(jsi::Runtime & rt, TurboModule & turboModule, const jsi::Value* args, size_t count) {
0 commit comments