We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 746c45c commit eb34f0cCopy full SHA for eb34f0c
src/compiler/emitter.ts
@@ -1753,7 +1753,6 @@ namespace ts {
1753
else {
1754
pushNameGenerationScope();
1755
write("{");
1756
- increaseIndent();
1757
emitBlockStatements(node);
1758
write("}");
1759
popNameGenerationScope();
src/compiler/factory.ts
@@ -1185,7 +1185,7 @@ namespace ts {
1185
}
1186
1187
export function createModuleBlock(statements: Statement[]) {
1188
- const node = <ModuleBlock>createSynthesizedNode(SyntaxKind.CaseBlock);
+ const node = <ModuleBlock>createSynthesizedNode(SyntaxKind.ModuleBlock);
1189
node.statements = createNodeArray(statements);
1190
return node;
1191
0 commit comments