From 931006338a2cfd6c8adea893dd5732e1051a5577 Mon Sep 17 00:00:00 2001 From: Mattias Buelens Date: Sat, 3 Dec 2016 17:52:04 +0100 Subject: [PATCH] Fix elided syntax kinds falling through to visitConstructor in TypeScript transformer. --- src/compiler/transformers/ts.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/transformers/ts.ts b/src/compiler/transformers/ts.ts index 6af8a263599..749ea46c8f2 100644 --- a/src/compiler/transformers/ts.ts +++ b/src/compiler/transformers/ts.ts @@ -345,6 +345,7 @@ namespace ts { case SyntaxKind.PropertyDeclaration: // TypeScript property declarations are elided. + return undefined; case SyntaxKind.Constructor: return visitConstructor(node);