@react-native/codegen
Advanced tools
Comparing version 0.74.84 to 0.74.85
@@ -180,7 +180,7 @@ /** | ||
case 'FloatTypeAnnotation': | ||
return wrapOptional('float', isRequired); | ||
return wrapOptional('double', isRequired); | ||
case 'DoubleTypeAnnotation': | ||
return wrapOptional('double', isRequired); | ||
case 'Int32TypeAnnotation': | ||
return wrapOptional('int', isRequired); | ||
return wrapOptional('double', isRequired); | ||
case 'BooleanTypeAnnotation': | ||
@@ -187,0 +187,0 @@ return wrapOptional('boolean', isRequired); |
@@ -339,5 +339,5 @@ /** | ||
case 'FloatTypeAnnotation': | ||
return nullable ? 'Ljava/lang/Float;' : 'F'; | ||
return nullable ? 'Ljava/lang/Double;' : 'D'; | ||
case 'Int32TypeAnnotation': | ||
return nullable ? 'Ljava/lang/Integer;' : 'I'; | ||
return nullable ? 'Ljava/lang/Double;' : 'D'; | ||
case 'PromiseTypeAnnotation': | ||
@@ -344,0 +344,0 @@ return 'Lcom/facebook/react/bridge/Promise;'; |
{ | ||
"name": "@react-native/codegen", | ||
"version": "0.74.84", | ||
"version": "0.74.85", | ||
"description": "Code generation tools for React Native", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1608610