mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update out-of-date baselines
This commit is contained in:
@@ -14,7 +14,7 @@ const a = condition ? 1 : throw new Error();
|
||||
const b = condition || throw new Error();
|
||||
>b : true
|
||||
>condition || throw new Error() : true
|
||||
>condition : true
|
||||
>condition : boolean
|
||||
>throw new Error() : never
|
||||
>new Error() : Error
|
||||
>Error : ErrorConstructor
|
||||
@@ -37,7 +37,7 @@ const x = "x", y = "y", z = "z";
|
||||
const w = condition ? throw true ? x : y : z;
|
||||
>w : "x" | "y" | "z"
|
||||
>condition ? throw true ? x : y : z : "x" | "y" | "z"
|
||||
>condition : true
|
||||
>condition : boolean
|
||||
>throw true ? x : y : "x" | "y"
|
||||
>throw true : never
|
||||
>true : true
|
||||
|
||||
@@ -14,7 +14,7 @@ const a = condition ? 1 : throw new Error();
|
||||
const b = condition || throw new Error();
|
||||
>b : true
|
||||
>condition || throw new Error() : true
|
||||
>condition : true
|
||||
>condition : boolean
|
||||
>throw new Error() : never
|
||||
>new Error() : Error
|
||||
>Error : ErrorConstructor
|
||||
@@ -37,7 +37,7 @@ const x = "x", y = "y", z = "z";
|
||||
const w = condition ? throw true ? x : y : z;
|
||||
>w : "x" | "y" | "z"
|
||||
>condition ? throw true ? x : y : z : "x" | "y" | "z"
|
||||
>condition : true
|
||||
>condition : boolean
|
||||
>throw true ? x : y : "x" | "y"
|
||||
>throw true : never
|
||||
>true : true
|
||||
|
||||
Reference in New Issue
Block a user