Conflicts: tests/baselines/reference/iterableArrayPattern14.types tests/baselines/reference/iterableArrayPattern15.types tests/baselines/reference/iterableArrayPattern20.types tests/baselines/reference/iterableArrayPattern27.types
16 lines
356 B
Text
16 lines
356 B
Text
=== tests/cases/conformance/es6/destructuring/restElementWithAssignmentPattern5.ts ===
|
|
var s: string, s2: string;
|
|
>s : string
|
|
>s2 : string
|
|
|
|
[...[s, s2]] = ["", ""];
|
|
>[...[s, s2]] = ["", ""] : string[]
|
|
>[...[s, s2]] : string[]
|
|
>...[s, s2] : string
|
|
>[s, s2] : string[]
|
|
>s : string
|
|
>s2 : string
|
|
>["", ""] : string[]
|
|
>"" : string
|
|
>"" : string
|
|
|