Skip to content

Commit b3b1bf6

Browse files
committed
JS: Fix polarity of alias check
1 parent 44ce9a3 commit b3b1bf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/extractor/lib/typescript/src/type_table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ export class TypeTable {
867867
} else {
868868
typeExtractionState[id] = TypeExtractionState.DoneFull;
869869
this.isInShallowTypeContext = isShallowContext || this.isExpansiveTypeReference(type);
870-
if (type.aliasSymbol != null) {
870+
if (type.aliasSymbol == null) {
871871
this.extractProperties(type, id);
872872
this.extractSignatures(type, id);
873873
this.extractIndexers(type, id);

0 commit comments

Comments
 (0)