Skip to content

Commit

Permalink
Fix elided syntax kinds falling through to visitConstructor in TypeSc…
Browse files Browse the repository at this point in the history
…ript transformer.
  • Loading branch information
MattiasBuelens committed Dec 3, 2016
1 parent a230cb7 commit 9310063
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/transformers/ts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ namespace ts {

case SyntaxKind.PropertyDeclaration:
// TypeScript property declarations are elided.
return undefined;

case SyntaxKind.Constructor:
return visitConstructor(<ConstructorDeclaration>node);
Expand Down

0 comments on commit 9310063

Please sign in to comment.