Accept updated baseline

This commit is contained in:
Wesley Wigham
2020-09-25 11:54:33 -07:00
parent 74779ba4fb
commit 4156662e14
@@ -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; } | {}