Skip to content

Commit 704cd7b

Browse files
Accepted baselines.
1 parent 1f8ad2d commit 704cd7b

File tree

37 files changed

+733
-733
lines changed

37 files changed

+733
-733
lines changed

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5151,7 +5151,7 @@ declare namespace ts {
51515151
The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access: DiagnosticMessage;
51525152
Operator_0_cannot_be_applied_to_types_1_and_2: DiagnosticMessage;
51535153
Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined: DiagnosticMessage;
5154-
The_types_of_these_values_indicates_that_this_condition_will_always_be_0: DiagnosticMessage;
5154+
The_types_of_these_values_indicate_that_this_condition_will_always_be_0: DiagnosticMessage;
51555155
Type_parameter_name_cannot_be_0: DiagnosticMessage;
51565156
A_parameter_property_is_only_allowed_in_a_constructor_implementation: DiagnosticMessage;
51575157
A_rest_parameter_must_be_of_an_array_type: DiagnosticMessage;

tests/baselines/reference/capturedLetConstInLoop5.errors.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
tests/cases/compiler/capturedLetConstInLoop5.ts(174,13): error TS2367: The types of these values indicates that this condition will always be 'false'.
1+
tests/cases/compiler/capturedLetConstInLoop5.ts(174,13): error TS2367: The types of these values indicate that this condition will always be 'false'.
22
Operator '==' cannot be applied to types '0' and '1'.
3-
tests/cases/compiler/capturedLetConstInLoop5.ts(229,13): error TS2367: The types of these values indicates that this condition will always be 'false'.
3+
tests/cases/compiler/capturedLetConstInLoop5.ts(229,13): error TS2367: The types of these values indicate that this condition will always be 'false'.
44
Operator '==' cannot be applied to types '0' and '1'.
55

66

@@ -180,7 +180,7 @@ tests/cases/compiler/capturedLetConstInLoop5.ts(229,13): error TS2367: The types
180180
(() => x + v);
181181
if (x == 1) {
182182
~~~~~~
183-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
183+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
184184
!!! error TS2367: Operator '==' cannot be applied to types '0' and '1'.
185185
return;
186186
}
@@ -238,7 +238,7 @@ tests/cases/compiler/capturedLetConstInLoop5.ts(229,13): error TS2367: The types
238238
(() => x + y + v);
239239
if (x == 1) {
240240
~~~~~~
241-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
241+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
242242
!!! error TS2367: Operator '==' cannot be applied to types '0' and '1'.
243243
return;
244244
}

tests/baselines/reference/capturedLetConstInLoop5_ES6.errors.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
tests/cases/compiler/capturedLetConstInLoop5_ES6.ts(174,13): error TS2367: The types of these values indicates that this condition will always be 'false'.
1+
tests/cases/compiler/capturedLetConstInLoop5_ES6.ts(174,13): error TS2367: The types of these values indicate that this condition will always be 'false'.
22
Operator '==' cannot be applied to types '0' and '1'.
3-
tests/cases/compiler/capturedLetConstInLoop5_ES6.ts(229,13): error TS2367: The types of these values indicates that this condition will always be 'false'.
3+
tests/cases/compiler/capturedLetConstInLoop5_ES6.ts(229,13): error TS2367: The types of these values indicate that this condition will always be 'false'.
44
Operator '==' cannot be applied to types '0' and '1'.
55

66

@@ -180,7 +180,7 @@ tests/cases/compiler/capturedLetConstInLoop5_ES6.ts(229,13): error TS2367: The t
180180
(() => x + v);
181181
if (x == 1) {
182182
~~~~~~
183-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
183+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
184184
!!! error TS2367: Operator '==' cannot be applied to types '0' and '1'.
185185
return;
186186
}
@@ -238,7 +238,7 @@ tests/cases/compiler/capturedLetConstInLoop5_ES6.ts(229,13): error TS2367: The t
238238
(() => x + y + v);
239239
if (x == 1) {
240240
~~~~~~
241-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
241+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
242242
!!! error TS2367: Operator '==' cannot be applied to types '0' and '1'.
243243
return;
244244
}

tests/baselines/reference/capturedLetConstInLoop6.errors.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
tests/cases/compiler/capturedLetConstInLoop6.ts(147,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
1+
tests/cases/compiler/capturedLetConstInLoop6.ts(147,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
22
Operator '==' cannot be applied to types '0' and '1'.
3-
tests/cases/compiler/capturedLetConstInLoop6.ts(150,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
3+
tests/cases/compiler/capturedLetConstInLoop6.ts(150,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
44
Operator '==' cannot be applied to types '0' and '2'.
5-
tests/cases/compiler/capturedLetConstInLoop6.ts(194,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
5+
tests/cases/compiler/capturedLetConstInLoop6.ts(194,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
66
Operator '==' cannot be applied to types '0' and '1'.
7-
tests/cases/compiler/capturedLetConstInLoop6.ts(197,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
7+
tests/cases/compiler/capturedLetConstInLoop6.ts(197,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
88
Operator '==' cannot be applied to types '0' and '2'.
99

1010

@@ -157,13 +157,13 @@ tests/cases/compiler/capturedLetConstInLoop6.ts(197,9): error TS2367: The types
157157
(() => x);
158158
if (x == 1) {
159159
~~~~~~
160-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
160+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
161161
!!! error TS2367: Operator '==' cannot be applied to types '0' and '1'.
162162
break;
163163
}
164164
if (x == 2) {
165165
~~~~~~
166-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
166+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
167167
!!! error TS2367: Operator '==' cannot be applied to types '0' and '2'.
168168
continue;
169169
}
@@ -210,13 +210,13 @@ tests/cases/compiler/capturedLetConstInLoop6.ts(197,9): error TS2367: The types
210210
(() => x + y);
211211
if (x == 1) {
212212
~~~~~~
213-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
213+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
214214
!!! error TS2367: Operator '==' cannot be applied to types '0' and '1'.
215215
break;
216216
}
217217
if (x == 2) {
218218
~~~~~~
219-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
219+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
220220
!!! error TS2367: Operator '==' cannot be applied to types '0' and '2'.
221221
continue;
222222
}

tests/baselines/reference/capturedLetConstInLoop6_ES6.errors.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
tests/cases/compiler/capturedLetConstInLoop6_ES6.ts(147,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
1+
tests/cases/compiler/capturedLetConstInLoop6_ES6.ts(147,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
22
Operator '==' cannot be applied to types '0' and '1'.
3-
tests/cases/compiler/capturedLetConstInLoop6_ES6.ts(150,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
3+
tests/cases/compiler/capturedLetConstInLoop6_ES6.ts(150,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
44
Operator '==' cannot be applied to types '0' and '2'.
5-
tests/cases/compiler/capturedLetConstInLoop6_ES6.ts(194,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
5+
tests/cases/compiler/capturedLetConstInLoop6_ES6.ts(194,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
66
Operator '==' cannot be applied to types '0' and '1'.
7-
tests/cases/compiler/capturedLetConstInLoop6_ES6.ts(197,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
7+
tests/cases/compiler/capturedLetConstInLoop6_ES6.ts(197,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
88
Operator '==' cannot be applied to types '0' and '2'.
99

1010

@@ -157,13 +157,13 @@ tests/cases/compiler/capturedLetConstInLoop6_ES6.ts(197,9): error TS2367: The ty
157157
(() => x);
158158
if (x == 1) {
159159
~~~~~~
160-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
160+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
161161
!!! error TS2367: Operator '==' cannot be applied to types '0' and '1'.
162162
break;
163163
}
164164
if (x == 2) {
165165
~~~~~~
166-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
166+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
167167
!!! error TS2367: Operator '==' cannot be applied to types '0' and '2'.
168168
continue;
169169
}
@@ -210,13 +210,13 @@ tests/cases/compiler/capturedLetConstInLoop6_ES6.ts(197,9): error TS2367: The ty
210210
(() => x + y);
211211
if (x == 1) {
212212
~~~~~~
213-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
213+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
214214
!!! error TS2367: Operator '==' cannot be applied to types '0' and '1'.
215215
break;
216216
}
217217
if (x == 2) {
218218
~~~~~~
219-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
219+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
220220
!!! error TS2367: Operator '==' cannot be applied to types '0' and '2'.
221221
continue;
222222
}

tests/baselines/reference/capturedLetConstInLoop7.errors.txt

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
tests/cases/compiler/capturedLetConstInLoop7.ts(230,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
1+
tests/cases/compiler/capturedLetConstInLoop7.ts(230,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
22
Operator '==' cannot be applied to types '0' and '1'.
3-
tests/cases/compiler/capturedLetConstInLoop7.ts(233,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
3+
tests/cases/compiler/capturedLetConstInLoop7.ts(233,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
44
Operator '==' cannot be applied to types '0' and '1'.
5-
tests/cases/compiler/capturedLetConstInLoop7.ts(236,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
5+
tests/cases/compiler/capturedLetConstInLoop7.ts(236,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
66
Operator '==' cannot be applied to types '0' and '2'.
7-
tests/cases/compiler/capturedLetConstInLoop7.ts(239,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
7+
tests/cases/compiler/capturedLetConstInLoop7.ts(239,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
88
Operator '==' cannot be applied to types '0' and '2'.
9-
tests/cases/compiler/capturedLetConstInLoop7.ts(305,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
9+
tests/cases/compiler/capturedLetConstInLoop7.ts(305,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
1010
Operator '==' cannot be applied to types '0' and '1'.
11-
tests/cases/compiler/capturedLetConstInLoop7.ts(308,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
11+
tests/cases/compiler/capturedLetConstInLoop7.ts(308,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
1212
Operator '==' cannot be applied to types '0' and '1'.
13-
tests/cases/compiler/capturedLetConstInLoop7.ts(311,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
13+
tests/cases/compiler/capturedLetConstInLoop7.ts(311,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
1414
Operator '==' cannot be applied to types '0' and '2'.
15-
tests/cases/compiler/capturedLetConstInLoop7.ts(314,9): error TS2367: The types of these values indicates that this condition will always be 'false'.
15+
tests/cases/compiler/capturedLetConstInLoop7.ts(314,9): error TS2367: The types of these values indicate that this condition will always be 'false'.
1616
Operator '==' cannot be applied to types '0' and '2'.
1717

1818

@@ -248,25 +248,25 @@ tests/cases/compiler/capturedLetConstInLoop7.ts(314,9): error TS2367: The types
248248
(() => x);
249249
if (x == 1) {
250250
~~~~~~
251-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
251+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
252252
!!! error TS2367: Operator '==' cannot be applied to types '0' and '1'.
253253
break;
254254
}
255255
if (x == 1) {
256256
~~~~~~
257-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
257+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
258258
!!! error TS2367: Operator '==' cannot be applied to types '0' and '1'.
259259
break l1_c;
260260
}
261261
if (x == 2) {
262262
~~~~~~
263-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
263+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
264264
!!! error TS2367: Operator '==' cannot be applied to types '0' and '2'.
265265
continue;
266266
}
267267
if (x == 2) {
268268
~~~~~~
269-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
269+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
270270
!!! error TS2367: Operator '==' cannot be applied to types '0' and '2'.
271271
continue l1_c;
272272
}
@@ -335,25 +335,25 @@ tests/cases/compiler/capturedLetConstInLoop7.ts(314,9): error TS2367: The types
335335
(() => x + y);
336336
if (x == 1) {
337337
~~~~~~
338-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
338+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
339339
!!! error TS2367: Operator '==' cannot be applied to types '0' and '1'.
340340
break;
341341
}
342342
if (x == 1) {
343343
~~~~~~
344-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
344+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
345345
!!! error TS2367: Operator '==' cannot be applied to types '0' and '1'.
346346
break l5_c;
347347
}
348348
if (x == 2) {
349349
~~~~~~
350-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
350+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
351351
!!! error TS2367: Operator '==' cannot be applied to types '0' and '2'.
352352
continue;
353353
}
354354
if (x == 2) {
355355
~~~~~~
356-
!!! error TS2367: The types of these values indicates that this condition will always be 'false'.
356+
!!! error TS2367: The types of these values indicate that this condition will always be 'false'.
357357
!!! error TS2367: Operator '==' cannot be applied to types '0' and '2'.
358358
continue l5_c;
359359
}

0 commit comments

Comments
 (0)