mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
31 lines
2.3 KiB
Diff
31 lines
2.3 KiB
Diff
--- old.iteratorSpreadInArray6.errors.txt
|
|
+++ new.iteratorSpreadInArray6.errors.txt
|
|
@@= skipped -0, +0 lines =@@
|
|
iteratorSpreadInArray6.ts(15,14): error TS2769: No overload matches this call.
|
|
- Overload 1 of 2, '(...items: ConcatArray<number>[]): number[]', gave the following error.
|
|
- Argument of type 'symbol[]' is not assignable to parameter of type 'ConcatArray<number>'.
|
|
- The types returned by 'slice(...)' are incompatible between these types.
|
|
- Type 'symbol[]' is not assignable to type 'number[]'.
|
|
- Type 'symbol' is not assignable to type 'number'.
|
|
- Overload 2 of 2, '(...items: (number | ConcatArray<number>)[]): number[]', gave the following error.
|
|
+ The last overload gave the following error.
|
|
Argument of type 'symbol[]' is not assignable to parameter of type 'number | ConcatArray<number>'.
|
|
Type 'symbol[]' is not assignable to type 'ConcatArray<number>'.
|
|
The types returned by 'slice(...)' are incompatible between these types.
|
|
@@= skipped -29, +24 lines =@@
|
|
array.concat([...new SymbolIterator]);
|
|
~~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2769: No overload matches this call.
|
|
-!!! error TS2769: Overload 1 of 2, '(...items: ConcatArray<number>[]): number[]', gave the following error.
|
|
-!!! error TS2769: Argument of type 'symbol[]' is not assignable to parameter of type 'ConcatArray<number>'.
|
|
-!!! error TS2769: The types returned by 'slice(...)' are incompatible between these types.
|
|
-!!! error TS2769: Type 'symbol[]' is not assignable to type 'number[]'.
|
|
-!!! error TS2769: Type 'symbol' is not assignable to type 'number'.
|
|
-!!! error TS2769: Overload 2 of 2, '(...items: (number | ConcatArray<number>)[]): number[]', gave the following error.
|
|
+!!! error TS2769: The last overload gave the following error.
|
|
!!! error TS2769: Argument of type 'symbol[]' is not assignable to parameter of type 'number | ConcatArray<number>'.
|
|
!!! error TS2769: Type 'symbol[]' is not assignable to type 'ConcatArray<number>'.
|
|
!!! error TS2769: The types returned by 'slice(...)' are incompatible between these types.
|
|
!!! error TS2769: Type 'symbol[]' is not assignable to type 'number[]'.
|
|
!!! error TS2769: Type 'symbol' is not assignable to type 'number'.
|
|
+!!! related TS2771 lib.es5.d.ts:--:--: The last overload is declared here.
|