We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bff3eba commit 2daed90Copy full SHA for 2daed90
scripts/TSExternsGenerator.hx
@@ -724,6 +724,17 @@ class TSExternsGenerator {
724
for (param in params) {
725
addMacroTypeQnamesForImport(param, qnames, pack);
726
}
727
+ var abstractType = t.get();
728
+ switch (abstractType.type) {
729
+ case TAbstract(t, underlyingParams):
730
+ var result = baseTypeToQname(abstractType, params, false);
731
+ var compareTo = baseTypeToQname(t.get(), underlyingParams, false);
732
+ if (result != compareTo) {
733
+ addMacroTypeQnamesForImport(abstractType.type, qnames, pack);
734
+ }
735
+ default:
736
737
738
break;
739
case TType(t, params):
740
var typedefType = t.get();
0 commit comments