@react-native/codegen
Advanced tools
Comparing version
@@ -280,2 +280,3 @@ /** | ||
(node.declaration.type === 'TypeAlias' || | ||
node.declaration.type === 'OpaqueType' || | ||
node.declaration.type === 'InterfaceDeclaration') | ||
@@ -294,2 +295,3 @@ ) { | ||
node.type === 'TypeAlias' || | ||
node.type === 'OpaqueType' || | ||
node.type === 'InterfaceDeclaration' || | ||
@@ -474,2 +476,5 @@ node.type === 'EnumDeclaration' | ||
nextNodeForTypeAlias(typeAnnotation) { | ||
if (typeAnnotation.type === 'OpaqueType') { | ||
return typeAnnotation.impltype; | ||
} | ||
return typeAnnotation.right; | ||
@@ -476,0 +481,0 @@ } |
@@ -1044,3 +1044,4 @@ /** | ||
switch (resolvedTypeAnnotation.type) { | ||
case parser.typeAlias: { | ||
case parser.typeAlias: | ||
case 'OpaqueType': { | ||
typeResolutionStatus = getTypeResolutionStatus( | ||
@@ -1047,0 +1048,0 @@ 'alias', |
{ | ||
"name": "@react-native/codegen", | ||
"version": "0.81.0-nightly-20250616-98f5a4e11", | ||
"version": "0.81.0-nightly-20250618-ce75271d4", | ||
"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
Sorry, the diff of this file is not supported yet
1088398
0.04%16895
0.04%