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 fb40d9b commit 5faff56Copy full SHA for 5faff56
javascript/extractor/lib/typescript/src/type_table.ts
@@ -1068,6 +1068,7 @@ export class TypeTable {
1068
let superType = this.typeChecker.getTypeFromTypeNode(typeExpr);
1069
if (superType == null) continue;
1070
let baseTypeSymbol = superType.symbol;
1071
+ baseTypeSymbol = (baseTypeSymbol as any)?.type?.symbol ?? baseTypeSymbol;
1072
if (baseTypeSymbol == null) continue;
1073
let baseId = this.getSymbolId(baseTypeSymbol);
1074
// Note: take care not to perform a recursive call between the two `push` calls.
0 commit comments