Emits class name with comments.

This commit is contained in:
Ron Buckton
2016-04-07 12:27:44 -07:00
parent 9b8436ca85
commit 9d2f0b37c0
2 changed files with 4 additions and 4 deletions

View File

@@ -549,7 +549,7 @@ namespace ts {
/*modifiers*/ undefined,
createVariableDeclarationList([
createVariableDeclaration(
getDeclarationName(node),
node.name || getGeneratedNameForNode(node),
transformClassLikeDeclarationToExpression(node)
)
]),