mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
1.1 KiB
Diff
16 lines
1.1 KiB
Diff
--- old.iterableArrayPattern19.errors.txt
|
|
+++ new.iterableArrayPattern19.errors.txt
|
|
@@= skipped -0, +0 lines =@@
|
|
-iterableArrayPattern19.ts(17,5): error TS2345: Argument of type 'FooArrayIterator' is not assignable to parameter of type 'Bar[][]'.
|
|
- Type 'FooArrayIterator' is missing the following properties from type 'Bar[][]': length, pop, push, concat, and 24 more.
|
|
+iterableArrayPattern19.ts(17,5): error TS2740: Type 'FooArrayIterator' is missing the following properties from type 'Bar[][]': length, pop, push, concat, and 24 more.
|
|
|
|
|
|
==== iterableArrayPattern19.ts (1 errors) ====
|
|
@@= skipped -20, +19 lines =@@
|
|
function fun([[a], b]: Bar[][]) { }
|
|
fun(new FooArrayIterator);
|
|
~~~~~~~~~~~~~~~~~~~~
|
|
-!!! error TS2345: Argument of type 'FooArrayIterator' is not assignable to parameter of type 'Bar[][]'.
|
|
-!!! error TS2345: Type 'FooArrayIterator' is missing the following properties from type 'Bar[][]': length, pop, push, concat, and 24 more.
|
|
+!!! error TS2740: Type 'FooArrayIterator' is missing the following properties from type 'Bar[][]': length, pop, push, concat, and 24 more.
|