Skip to content

Commit 7061101

Browse files
committed
fix code style issue
1 parent fc7b86b commit 7061101

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compiler/checker.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15893,7 +15893,8 @@ namespace ts {
1589315893
if (isReadonlySymbol(localOrExportSymbol)) {
1589415894
if (isConstVariable(localOrExportSymbol)) {
1589515895
error(node, Diagnostics.Cannot_assign_to_0_because_it_is_a_constant, symbolToString(symbol));
15896-
} else {
15896+
}
15897+
else {
1589715898
error(node, Diagnostics.Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property, symbolToString(symbol));
1589815899
}
1589915900
return errorType;

0 commit comments

Comments
 (0)