Added constructor visibility in the declaration emitter

This commit is contained in:
AbubakerB committed 2016-02-04 18:32:56 +00:00
1 parent c351ffcc75
commit bbf92ce391
1 file changed
+1 -1
+1 -1
View File
@@ -1316,7 +1316,7 @@ namespace ts {
if (node.kind === SyntaxKind.FunctionDeclaration) {
emitModuleElementDeclarationFlags(node);
}
else if (node.kind === SyntaxKind.MethodDeclaration) {
else if (node.kind === SyntaxKind.MethodDeclaration || node.kind === SyntaxKind.Constructor) {
emitClassMemberDeclarationFlags(node.flags);
}
if (node.kind === SyntaxKind.FunctionDeclaration) {