mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-30 04:16:48 -05:00
Merge pull request #12639 from MattiasBuelens/fixElideFallthrough
Fix elided syntax kinds falling through to visitConstructor in TypeScript transformer
This commit is contained in:
@@ -345,6 +345,7 @@ namespace ts {
|
||||
|
||||
case SyntaxKind.PropertyDeclaration:
|
||||
// TypeScript property declarations are elided.
|
||||
return undefined;
|
||||
|
||||
case SyntaxKind.Constructor:
|
||||
return visitConstructor(<ConstructorDeclaration>node);
|
||||
|
||||
Reference in New Issue
Block a user