11 lines
266 B
Text
11 lines
266 B
Text
=== tests/cases/conformance/es6/spread/iteratorSpreadInArray11.ts ===
|
|
var iter: Iterable<number>;
|
|
>iter : Iterable<number>
|
|
>Iterable : Iterable<T>
|
|
|
|
var array = [...iter];
|
|
>array : number[]
|
|
>[...iter] : number[]
|
|
>...iter : number
|
|
>iter : Iterable<number>
|
|
|