From bf7e3229cfb7a824f55ab23c03d06e8329e78946 Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Tue, 23 May 2017 09:12:03 -0700 Subject: [PATCH] Fix typo: symbol -> parentSymbol --- src/compiler/checker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index aeabf816a96..8df64ef4356 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -3087,7 +3087,7 @@ namespace ts { // Write type arguments of instantiated class/interface here if (flags & SymbolFormatFlags.WriteTypeParametersOrArguments) { if (getCheckFlags(symbol) & CheckFlags.Instantiated) { - const params = getTypeParametersOfClassOrInterface(symbol.flags & SymbolFlags.Alias ? resolveAlias(symbol) : symbol); + const params = getTypeParametersOfClassOrInterface(parentSymbol.flags & SymbolFlags.Alias ? resolveAlias(parentSymbol) : parentSymbol); buildDisplayForTypeArgumentsAndDelimiters(params, (symbol).mapper, writer, enclosingDeclaration); } else {