2015-04-11 01:03:54 +02:00
|
|
|
=== tests/cases/conformance/es6/destructuring/nonIterableRestElement2.ts ===
|
|
|
|
var c = {};
|
2015-04-16 03:12:49 +02:00
|
|
|
>c : {}
|
2015-04-11 01:03:54 +02:00
|
|
|
>{} : {}
|
|
|
|
|
|
|
|
[...c] = ["", 0];
|
|
|
|
>[...c] = ["", 0] : (string | number)[]
|
|
|
|
>[...c] : {}[]
|
|
|
|
>...c : any
|
2015-04-16 03:12:49 +02:00
|
|
|
>c : {}
|
2015-04-11 01:03:54 +02:00
|
|
|
>["", 0] : (string | number)[]
|
2015-04-14 02:34:02 +02:00
|
|
|
>"" : string
|
|
|
|
>0 : number
|
2015-04-11 01:03:54 +02:00
|
|
|
|