Skip to content

Commit 13f52c9

Browse files
fix linting error
1 parent 4c9ab41 commit 13f52c9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/compiler/checker.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18756,10 +18756,11 @@ namespace ts {
1875618756
if (container.kind === SyntaxKind.ModuleDeclaration && !isAmbientModule(container)) {
1875718757
if (node.isExportEquals) {
1875818758
error(node, Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace);
18759-
} else {
18759+
}
18760+
else {
1876018761
error(node, Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);
1876118762
}
18762-
18763+
1876318764
return;
1876418765
}
1876518766
// Grammar checking

0 commit comments

Comments
 (0)