From 4156662e149a7794e029bc5a1cf75b32d372723c Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Fri, 25 Sep 2020 11:54:33 -0700 Subject: [PATCH] Accept updated baseline --- .../baselines/reference/spreadOverwritesPropertyStrict.types | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/baselines/reference/spreadOverwritesPropertyStrict.types b/tests/baselines/reference/spreadOverwritesPropertyStrict.types index cf4e022eb35..66499cd0f66 100644 --- a/tests/baselines/reference/spreadOverwritesPropertyStrict.types +++ b/tests/baselines/reference/spreadOverwritesPropertyStrict.types @@ -78,14 +78,14 @@ function h(obj: { x: number } | { x: string }) { >obj : { x: number; } | { x: string; } } function i(b: boolean, t: { command: string, ok: string }) { ->i : (b: boolean, t: { command: string; ok: string;}) => { command: string; ok: string; } | { command: string; } +>i : (b: boolean, t: { command: string; ok: string;}) => { command: string; ok?: string; } >b : boolean >t : { command: string; ok: string; } >command : string >ok : string return { command: "hi", ...(b ? t : {}) } // ok ->{ command: "hi", ...(b ? t : {}) } : { command: string; ok: string; } | { command: string; } +>{ command: "hi", ...(b ? t : {}) } : { command: string; ok?: string; } >command : string >"hi" : "hi" >(b ? t : {}) : { command: string; ok: string; } | {}