You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/baselines/reference/destructuringTuple.errors.txt
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
tests/cases/compiler/destructuringTuple.ts(11,8): error TS2493: Tuple type '[]' of length '0' has no element at index '0'.
2
-
tests/cases/compiler/destructuringTuple.ts(11,60): error TS2345: Argument of type 'number' is not assignable to parameter of type 'ConcatArray<never>'.
2
+
tests/cases/compiler/destructuringTuple.ts(11,48): error TS2763: No overload matches this call.
3
+
Overload 1 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
4
+
Argument of type 'number' is not assignable to parameter of type 'ConcatArray<never>'.
5
+
Overload 2 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
6
+
Argument of type 'number' is not assignable to parameter of type 'ConcatArray<never>'.
0 commit comments