Skip to content

Commit bf7e322

Browse files
author
Andy Hanson
committed
Fix typo: symbol -> parentSymbol
1 parent 8894915 commit bf7e322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3087,7 +3087,7 @@ namespace ts {
30873087
// Write type arguments of instantiated class/interface here
30883088
if (flags & SymbolFormatFlags.WriteTypeParametersOrArguments) {
30893089
if (getCheckFlags(symbol) & CheckFlags.Instantiated) {
3090-
const params = getTypeParametersOfClassOrInterface(symbol.flags & SymbolFlags.Alias ? resolveAlias(symbol) : symbol);
3090+
const params = getTypeParametersOfClassOrInterface(parentSymbol.flags & SymbolFlags.Alias ? resolveAlias(parentSymbol) : parentSymbol);
30913091
buildDisplayForTypeArgumentsAndDelimiters(params, (<TransientSymbol>symbol).mapper, writer, enclosingDeclaration);
30923092
}
30933093
else {

0 commit comments

Comments
 (0)