Properly emit "this" type in declaration files

This commit is contained in:
Anders Hejlsberg 2015-09-25 14:07:24 -07:00
parent 7acb9dd0a3
commit 8fd2d7a7db

View file

@ -326,6 +326,7 @@ namespace ts {
case SyntaxKind.BooleanKeyword:
case SyntaxKind.SymbolKeyword:
case SyntaxKind.VoidKeyword:
case SyntaxKind.ThisKeyword:
case SyntaxKind.StringLiteral:
return writeTextOfNode(currentSourceFile, type);
case SyntaxKind.ExpressionWithTypeArguments: