Fix elided syntax kinds falling through to visitConstructor in TypeScript transformer.

This commit is contained in:
Mattias Buelens
2016-12-03 17:52:04 +01:00
parent a230cb7e77
commit 931006338a

View File

@@ -345,6 +345,7 @@ namespace ts {
case SyntaxKind.PropertyDeclaration:
// TypeScript property declarations are elided.
return undefined;
case SyntaxKind.Constructor:
return visitConstructor(<ConstructorDeclaration>node);