|
| 1 | + |
| 2 | +Server should start in types-first mode |
| 3 | +Error ----------------------------------------------------------------------------------------------------- test2.js:3:2 |
| 4 | + |
| 5 | +Cannot cast `require(...)` to string because number [1] is incompatible with string [2]. |
| 6 | + |
| 7 | + test2.js:3:2 |
| 8 | + 3| (require('./test1'): string); |
| 9 | + ^^^^^^^^^^^^^^^^^^ |
| 10 | + |
| 11 | +References: |
| 12 | + test1.js:5:18 |
| 13 | + 5| module.exports = 0; |
| 14 | + ^ [1] |
| 15 | + test2.js:3:22 |
| 16 | + 3| (require('./test1'): string); |
| 17 | + ^^^^^^ [2] |
| 18 | + |
| 19 | + |
| 20 | +Error ----------------------------------------------------------------------------------------------------- test3.js:5:2 |
| 21 | + |
| 22 | +Cannot cast `0` to string because number [1] is incompatible with string [2]. |
| 23 | + |
| 24 | + test3.js:5:2 |
| 25 | + 5| (0: string); |
| 26 | + ^ [1] |
| 27 | + |
| 28 | +References: |
| 29 | + test3.js:5:5 |
| 30 | + 5| (0: string); |
| 31 | + ^^^^^^ [2] |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | +Found 2 errors |
| 36 | + |
| 37 | +Adding a line should cause minimal rechecking (but preserve errors) |
| 38 | +Error ----------------------------------------------------------------------------------------------------- test2.js:3:2 |
| 39 | + |
| 40 | +Cannot cast `require(...)` to string because number [1] is incompatible with string [2]. |
| 41 | + |
| 42 | + test2.js:3:2 |
| 43 | + 3| (require('./test1'): string); |
| 44 | + ^^^^^^^^^^^^^^^^^^ |
| 45 | + |
| 46 | +References: |
| 47 | + test1.js:6:18 |
| 48 | + 6| module.exports = 0; |
| 49 | + ^ [1] |
| 50 | + test2.js:3:22 |
| 51 | + 3| (require('./test1'): string); |
| 52 | + ^^^^^^ [2] |
| 53 | + |
| 54 | + |
| 55 | +Error ----------------------------------------------------------------------------------------------------- test3.js:5:2 |
| 56 | + |
| 57 | +Cannot cast `0` to string because number [1] is incompatible with string [2]. |
| 58 | + |
| 59 | + test3.js:5:2 |
| 60 | + 5| (0: string); |
| 61 | + ^ [1] |
| 62 | + |
| 63 | +References: |
| 64 | + test3.js:5:5 |
| 65 | + 5| (0: string); |
| 66 | + ^^^^^^ [2] |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | +Found 2 errors |
| 71 | + |
| 72 | +========Skipping stats======== |
| 73 | +Merge skipped 1 of 3 modules |
| 74 | +Check will skip 1 files |
| 75 | + |
| 76 | +Adding a comment should cause minimal rechecking (but preserve errors) |
| 77 | +Error ----------------------------------------------------------------------------------------------------- test2.js:3:2 |
| 78 | + |
| 79 | +Cannot cast `require(...)` to string because number [1] is incompatible with string [2]. |
| 80 | + |
| 81 | + test2.js:3:2 |
| 82 | + 3| (require('./test1'): string); |
| 83 | + ^^^^^^^^^^^^^^^^^^ |
| 84 | + |
| 85 | +References: |
| 86 | + test1.js:6:18 |
| 87 | + 6| module.exports = 0; |
| 88 | + ^ [1] |
| 89 | + test2.js:3:22 |
| 90 | + 3| (require('./test1'): string); |
| 91 | + ^^^^^^ [2] |
| 92 | + |
| 93 | + |
| 94 | +Error ----------------------------------------------------------------------------------------------------- test3.js:5:2 |
| 95 | + |
| 96 | +Cannot cast `0` to string because number [1] is incompatible with string [2]. |
| 97 | + |
| 98 | + test3.js:5:2 |
| 99 | + 5| (0: string); |
| 100 | + ^ [1] |
| 101 | + |
| 102 | +References: |
| 103 | + test3.js:5:5 |
| 104 | + 5| (0: string); |
| 105 | + ^^^^^^ [2] |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | +Found 2 errors |
| 110 | + |
| 111 | +========Skipping stats======== |
| 112 | +Merge skipped 2 of 3 modules |
| 113 | +Check will skip 2 files |
0 commit comments