Skip to content

Commit bbf92ce

Browse files
committed
Added constructor visibility in the declaration emitter
1 parent c351ffc commit bbf92ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/declarationEmitter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ namespace ts {
13161316
if (node.kind === SyntaxKind.FunctionDeclaration) {
13171317
emitModuleElementDeclarationFlags(node);
13181318
}
1319-
else if (node.kind === SyntaxKind.MethodDeclaration) {
1319+
else if (node.kind === SyntaxKind.MethodDeclaration || node.kind === SyntaxKind.Constructor) {
13201320
emitClassMemberDeclarationFlags(node.flags);
13211321
}
13221322
if (node.kind === SyntaxKind.FunctionDeclaration) {

0 commit comments

Comments
 (0)