mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Update baselines after rebase
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
=== tests/cases/conformance/es6/destructuring/nonIterableRestElement1.ts ===
|
||||
var c = {};
|
||||
>c : {}
|
||||
>c : {}, Symbol(c, Decl(nonIterableRestElement1.ts, 0, 3))
|
||||
>{} : {}
|
||||
|
||||
[...c] = ["", 0];
|
||||
>[...c] = ["", 0] : (string | number)[]
|
||||
>[...c] : {}[]
|
||||
>...c : unknown
|
||||
>c : {}
|
||||
>...c : any
|
||||
>c : {}, Symbol(c, Decl(nonIterableRestElement1.ts, 0, 3))
|
||||
>["", 0] : (string | number)[]
|
||||
>"" : string
|
||||
>0 : number
|
||||
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
=== tests/cases/conformance/es6/destructuring/nonIterableRestElement2.ts ===
|
||||
var c = {};
|
||||
>c : {}
|
||||
>c : {}, Symbol(c, Decl(nonIterableRestElement2.ts, 0, 3))
|
||||
>{} : {}
|
||||
|
||||
[...c] = ["", 0];
|
||||
>[...c] = ["", 0] : (string | number)[]
|
||||
>[...c] : {}[]
|
||||
>...c : any
|
||||
>c : {}
|
||||
>c : {}, Symbol(c, Decl(nonIterableRestElement2.ts, 0, 3))
|
||||
>["", 0] : (string | number)[]
|
||||
>"" : string
|
||||
>0 : number
|
||||
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
=== tests/cases/conformance/es6/destructuring/restElementWithAssignmentPattern5.ts ===
|
||||
var s: string, s2: string;
|
||||
>s : string
|
||||
>s2 : string
|
||||
>s : string, Symbol(s, Decl(restElementWithAssignmentPattern5.ts, 0, 3))
|
||||
>s2 : string, Symbol(s2, Decl(restElementWithAssignmentPattern5.ts, 0, 14))
|
||||
|
||||
[...[s, s2]] = ["", ""];
|
||||
>[...[s, s2]] = ["", ""] : string[]
|
||||
>[...[s, s2]] : string[]
|
||||
>...[s, s2] : string
|
||||
>[s, s2] : string[]
|
||||
>s : string
|
||||
>s2 : string
|
||||
>s : string, Symbol(s, Decl(restElementWithAssignmentPattern5.ts, 0, 3))
|
||||
>s2 : string, Symbol(s2, Decl(restElementWithAssignmentPattern5.ts, 0, 14))
|
||||
>["", ""] : string[]
|
||||
>"" : string
|
||||
>"" : string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user