@react-native/codegen 0.74.0-nightly-20231102-9240d5160 → 0.74.0-nightly-20231104-d077239ff
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -714,6 +714,7 @@ function findNativeComponentType(statement, foundConfigs, parser) {
|
|
|
714
714
|
// expression so we need to go one level deeper
|
|
715
715
|
if (
|
|
716
716
|
declaration.type === 'TSAsExpression' ||
|
|
717
|
+
declaration.type === 'AsExpression' ||
|
|
717
718
|
declaration.type === 'TypeCastExpression'
|
|
718
719
|
) {
|
|
719
720
|
declaration = declaration.expression;
|
|
@@ -707,6 +707,7 @@ function findNativeComponentType(
|
|
|
707
707
|
// expression so we need to go one level deeper
|
|
708
708
|
if (
|
|
709
709
|
declaration.type === 'TSAsExpression' ||
|
|
710
|
+
declaration.type === 'AsExpression' ||
|
|
710
711
|
declaration.type === 'TypeCastExpression'
|
|
711
712
|
) {
|
|
712
713
|
declaration = declaration.expression;
|