Skip to content

Commit

Permalink
Fix: return parameterized type in TSTypeMapping#classType.
Browse files Browse the repository at this point in the history
  • Loading branch information
traceyyoshima committed Nov 14, 2023
1 parent a2f68fc commit 16aceb3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ private JavaType.FullyQualified classType(@Nullable TSCNode node, String signatu
typeParams.add(type(paramNode));
}
pt.unsafeSet(clazz, typeParams);
return pt;
} else if (!(jt instanceof JavaType.Parameterized)) {
throw new UnsupportedOperationException("this should not have happened.");
}
Expand Down

0 comments on commit 16aceb3

Please sign in to comment.