Skip to content

Commit 1f8ad2d

Browse files
indicates -> indicate
1 parent 4ca7aa4 commit 1f8ad2d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/compiler/checker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20903,10 +20903,10 @@ namespace ts {
2090320903
switch (operatorToken.kind) {
2090420904
case SyntaxKind.EqualsEqualsEqualsToken:
2090520905
case SyntaxKind.EqualsEqualsToken:
20906-
return chainDiagnosticMessages(elaboration, Diagnostics.The_types_of_these_values_indicates_that_this_condition_will_always_be_0, "false");
20906+
return chainDiagnosticMessages(elaboration, Diagnostics.The_types_of_these_values_indicate_that_this_condition_will_always_be_0, "false");
2090720907
case SyntaxKind.ExclamationEqualsEqualsToken:
2090820908
case SyntaxKind.ExclamationEqualsToken:
20909-
return chainDiagnosticMessages(elaboration, Diagnostics.The_types_of_these_values_indicates_that_this_condition_will_always_be_0, "true");
20909+
return chainDiagnosticMessages(elaboration, Diagnostics.The_types_of_these_values_indicate_that_this_condition_will_always_be_0, "true");
2091020910
}
2091120911
return elaboration;
2091220912
}

src/compiler/diagnosticMessages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@
12521252
"category": "Error",
12531253
"code": 2366
12541254
},
1255-
"The types of these values indicates that this condition will always be '{0}'.": {
1255+
"The types of these values indicate that this condition will always be '{0}'.": {
12561256
"category": "Error",
12571257
"code": 2367
12581258
},

src/testRunner/unittests/tsserverProjectSystem.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4999,7 +4999,7 @@ namespace ts.projectSystem {
49994999
);
50005000
const errorResult = <protocol.Diagnostic[]>session.executeCommand(getErrRequest).response;
50015001
assert.isTrue(errorResult.length === 1);
5002-
assert.equal(errorResult[0].code, Diagnostics.The_types_of_these_values_indicates_that_this_condition_will_always_be_0.code);
5002+
assert.equal(errorResult[0].code, Diagnostics.The_types_of_these_values_indicate_that_this_condition_will_always_be_0.code);
50035003
});
50045004

50055005
it("should report semantic errors for configured js project with '// @ts-check' and skipLibCheck=true", () => {
@@ -5026,7 +5026,7 @@ namespace ts.projectSystem {
50265026
);
50275027
const errorResult = <protocol.Diagnostic[]>session.executeCommand(getErrRequest).response;
50285028
assert.isTrue(errorResult.length === 1);
5029-
assert.equal(errorResult[0].code, Diagnostics.The_types_of_these_values_indicates_that_this_condition_will_always_be_0.code);
5029+
assert.equal(errorResult[0].code, Diagnostics.The_types_of_these_values_indicate_that_this_condition_will_always_be_0.code);
50305030
});
50315031

50325032
it("should report semantic errors for configured js project with checkJs=true and skipLibCheck=true", () => {
@@ -5055,7 +5055,7 @@ namespace ts.projectSystem {
50555055
);
50565056
const errorResult = <protocol.Diagnostic[]>session.executeCommand(getErrRequest).response;
50575057
assert.isTrue(errorResult.length === 1);
5058-
assert.equal(errorResult[0].code, Diagnostics.The_types_of_these_values_indicates_that_this_condition_will_always_be_0.code);
5058+
assert.equal(errorResult[0].code, Diagnostics.The_types_of_these_values_indicate_that_this_condition_will_always_be_0.code);
50595059
});
50605060
});
50615061

0 commit comments

Comments
 (0)