Properly emit "this" type in declaration files
This commit is contained in:
parent
7acb9dd0a3
commit
8fd2d7a7db
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue