Accept new baselines

This commit is contained in:
Anders Hejlsberg 2019-03-05 06:10:21 -08:00
parent ad823daabb
commit cde94441d3
2 changed files with 3 additions and 3 deletions

View File

@ -309,7 +309,7 @@ declare function f16<A, B>(a: A, b: B): A | B;
declare let x20: number;
declare let x21: string;
declare let x22: string | number;
declare let x23: unknown;
declare let x23: string | number;
declare let x24: string | number;
declare let x30: string;
declare let x31: string | number;

View File

@ -462,8 +462,8 @@ let x22 = call(f15, "hello", 42); // string | number
>42 : 42
let x23 = call(f16, "hello", 42); // unknown
>x23 : unknown
>call(f16, "hello", 42) : unknown
>x23 : string | number
>call(f16, "hello", 42) : string | number
>call : <T extends unknown[], U>(f: (...args: T) => U, ...args: T) => U
>f16 : <A, B>(a: A, b: B) => A | B
>"hello" : "hello"