|
1 | | -tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(46,12): error TS1345: An expression of type 'void' cannot be tested for truthiness |
2 | | -tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(47,12): error TS1345: An expression of type 'void' cannot be tested for truthiness |
3 | | -tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(48,12): error TS1345: An expression of type 'void' cannot be tested for truthiness |
4 | | -tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(49,12): error TS1345: An expression of type 'void' cannot be tested for truthiness |
5 | | -tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(50,12): error TS1345: An expression of type 'void' cannot be tested for truthiness |
6 | | -tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(51,12): error TS1345: An expression of type 'void' cannot be tested for truthiness |
7 | | -tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(52,12): error TS1345: An expression of type 'void' cannot be tested for truthiness |
8 | | -tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(53,12): error TS1345: An expression of type 'void' cannot be tested for truthiness |
| 1 | +tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(46,12): error TS1345: An expression of type 'void' cannot be tested for truthiness. |
| 2 | +tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(47,12): error TS1345: An expression of type 'void' cannot be tested for truthiness. |
| 3 | +tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(48,12): error TS1345: An expression of type 'void' cannot be tested for truthiness. |
| 4 | +tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(49,12): error TS1345: An expression of type 'void' cannot be tested for truthiness. |
| 5 | +tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(50,12): error TS1345: An expression of type 'void' cannot be tested for truthiness. |
| 6 | +tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(51,12): error TS1345: An expression of type 'void' cannot be tested for truthiness. |
| 7 | +tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(52,12): error TS1345: An expression of type 'void' cannot be tested for truthiness. |
| 8 | +tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts(53,12): error TS1345: An expression of type 'void' cannot be tested for truthiness. |
9 | 9 |
|
10 | 10 |
|
11 | 11 | ==== tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts (8 errors) ==== |
@@ -56,28 +56,28 @@ tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAn |
56 | 56 |
|
57 | 57 | const v1 = v && a; |
58 | 58 | ~ |
59 | | -!!! error TS1345: An expression of type 'void' cannot be tested for truthiness |
| 59 | +!!! error TS1345: An expression of type 'void' cannot be tested for truthiness. |
60 | 60 | const v2 = v && s; |
61 | 61 | ~ |
62 | | -!!! error TS1345: An expression of type 'void' cannot be tested for truthiness |
| 62 | +!!! error TS1345: An expression of type 'void' cannot be tested for truthiness. |
63 | 63 | const v3 = v && x; |
64 | 64 | ~ |
65 | | -!!! error TS1345: An expression of type 'void' cannot be tested for truthiness |
| 65 | +!!! error TS1345: An expression of type 'void' cannot be tested for truthiness. |
66 | 66 | const v4 = v && b; |
67 | 67 | ~ |
68 | | -!!! error TS1345: An expression of type 'void' cannot be tested for truthiness |
| 68 | +!!! error TS1345: An expression of type 'void' cannot be tested for truthiness. |
69 | 69 | const v5 = v && v; |
70 | 70 | ~ |
71 | | -!!! error TS1345: An expression of type 'void' cannot be tested for truthiness |
| 71 | +!!! error TS1345: An expression of type 'void' cannot be tested for truthiness. |
72 | 72 | const v6 = v && u; |
73 | 73 | ~ |
74 | | -!!! error TS1345: An expression of type 'void' cannot be tested for truthiness |
| 74 | +!!! error TS1345: An expression of type 'void' cannot be tested for truthiness. |
75 | 75 | const v7 = v && n; |
76 | 76 | ~ |
77 | | -!!! error TS1345: An expression of type 'void' cannot be tested for truthiness |
| 77 | +!!! error TS1345: An expression of type 'void' cannot be tested for truthiness. |
78 | 78 | const v8 = v && z; |
79 | 79 | ~ |
80 | | -!!! error TS1345: An expression of type 'void' cannot be tested for truthiness |
| 80 | +!!! error TS1345: An expression of type 'void' cannot be tested for truthiness. |
81 | 81 |
|
82 | 82 | const u1 = u && a; |
83 | 83 | const u2 = u && s; |
|
0 commit comments