Skip to content

Commit cf7051e

Browse files
committed
fix code style
1 parent b5c9676 commit cf7051e

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
@@ -21852,7 +21852,8 @@ namespace ts {
2185221852
let diagnosticMessage: DiagnosticMessage | undefined;
2185321853
if (languageVersion >= ScriptTarget.ES5) {
2185421854
diagnosticMessage = Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0;
21855-
} else if (isChildOfLiteralType(node)) {
21855+
}
21856+
else if (isChildOfLiteralType(node)) {
2185621857
diagnosticMessage = Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0;
2185721858
}
2185821859
if (diagnosticMessage) {

0 commit comments

Comments
 (0)