fix linting error

This commit is contained in:
Yuichi Nukiyama
2016-11-25 00:40:50 +09:00
parent 4c9ab41e3d
commit 13f52c9148

View File

@@ -18756,10 +18756,11 @@ namespace ts {
if (container.kind === SyntaxKind.ModuleDeclaration && !isAmbientModule(container)) {
if (node.isExportEquals) {
error(node, Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace);
} else {
}
else {
error(node, Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);
}
return;
}
// Grammar checking