From 043e7e9e02d2d459554e4a1a2122361dc223182e Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Wed, 27 Sep 2017 12:42:43 -0400 Subject: [PATCH] Update out-of-date baselines --- tests/baselines/reference/throwExpressions.es2015.types | 4 ++-- tests/baselines/reference/throwExpressions.esnext.types | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/baselines/reference/throwExpressions.es2015.types b/tests/baselines/reference/throwExpressions.es2015.types index cc8ed80f5f6..145f56910ca 100644 --- a/tests/baselines/reference/throwExpressions.es2015.types +++ b/tests/baselines/reference/throwExpressions.es2015.types @@ -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 diff --git a/tests/baselines/reference/throwExpressions.esnext.types b/tests/baselines/reference/throwExpressions.esnext.types index 2b043748f14..cad2562bd0c 100644 --- a/tests/baselines/reference/throwExpressions.esnext.types +++ b/tests/baselines/reference/throwExpressions.esnext.types @@ -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