Merge pull request #12639 from MattiasBuelens/fixElideFallthrough

Fix elided syntax kinds falling through to visitConstructor in TypeScript transformer
This commit is contained in:
Daniel Rosenwasser
2016-12-03 13:46:33 -08:00
committed by GitHub

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);