We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c351ffc commit bbf92ceCopy full SHA for bbf92ce
1 file changed
src/compiler/declarationEmitter.ts
@@ -1316,7 +1316,7 @@ namespace ts {
1316
if (node.kind === SyntaxKind.FunctionDeclaration) {
1317
emitModuleElementDeclarationFlags(node);
1318
}
1319
- else if (node.kind === SyntaxKind.MethodDeclaration) {
+ else if (node.kind === SyntaxKind.MethodDeclaration || node.kind === SyntaxKind.Constructor) {
1320
emitClassMemberDeclarationFlags(node.flags);
1321
1322
0 commit comments