|
64 | 64 | arr_any = f1; // should be an error - is |
65 | 65 | ~~~~~~~ |
66 | 66 | !!! Type '() => C1' is not assignable to type 'any[]': |
67 | | -!!! Property 'concat' is missing in type '() => C1'. |
| 67 | +!!! Property 'push' is missing in type '() => C1'. |
68 | 68 | arr_any = function () { return null;} // should be an error - is |
69 | 69 | ~~~~~~~ |
70 | 70 | !!! Type '() => any' is not assignable to type 'any[]': |
71 | | -!!! Property 'concat' is missing in type '() => any'. |
| 71 | +!!! Property 'push' is missing in type '() => any'. |
72 | 72 | arr_any = o1; // should be an error - is |
73 | 73 | ~~~~~~~ |
74 | 74 | !!! Type '{ one: number; }' is not assignable to type 'any[]': |
75 | | -!!! Property 'concat' is missing in type '{ one: number; }'. |
| 75 | +!!! Property 'length' is missing in type '{ one: number; }'. |
76 | 76 | arr_any = a1; // should be ok - is |
77 | 77 | arr_any = c1; // should be an error - is |
78 | 78 | ~~~~~~~ |
79 | 79 | !!! Type 'C1' is not assignable to type 'any[]': |
80 | | -!!! Property 'concat' is missing in type 'C1'. |
| 80 | +!!! Property 'length' is missing in type 'C1'. |
81 | 81 | arr_any = c2; // should be an error - is |
82 | 82 | ~~~~~~~ |
83 | 83 | !!! Type 'C2' is not assignable to type 'any[]': |
84 | | -!!! Property 'concat' is missing in type 'C2'. |
| 84 | +!!! Property 'length' is missing in type 'C2'. |
85 | 85 | arr_any = c3; // should be an error - is |
86 | 86 | ~~~~~~~ |
87 | 87 | !!! Type 'C3' is not assignable to type 'any[]': |
88 | | -!!! Property 'concat' is missing in type 'C3'. |
| 88 | +!!! Property 'length' is missing in type 'C3'. |
89 | 89 | arr_any = i1; // should be an error - is |
90 | 90 | ~~~~~~~ |
91 | 91 | !!! Type 'I1' is not assignable to type 'any[]': |
92 | | -!!! Property 'concat' is missing in type 'I1'. |
| 92 | +!!! Property 'length' is missing in type 'I1'. |
93 | 93 |
|
0 commit comments