From fc720be82e2862bbbb8abddc1c793ea25da011dc Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Wed, 12 Nov 2014 22:00:59 -0800 Subject: [PATCH] Added 'Constructor' to 'isDeclaration' predicate. --- src/compiler/parser.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index c7818f2e1bb..8b91ac3a1c2 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -583,6 +583,7 @@ module ts { case SyntaxKind.FunctionDeclaration: case SyntaxKind.GetAccessor: case SyntaxKind.SetAccessor: + case SyntaxKind.Constructor: case SyntaxKind.ClassDeclaration: case SyntaxKind.InterfaceDeclaration: case SyntaxKind.TypeAliasDeclaration: