Accept new baselines

This commit is contained in:
Anders Hejlsberg 2019-02-10 15:18:51 -08:00
parent 15610faa9d
commit 62e270c04d
3 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@ declare function shouldBeIdentity<T, U>(p: DoNothingAlias<T, U>): MyPromise<T, U
declare const p1: MyPromise<boolean, any>;
var p2 = shouldBeIdentity(p1);
var p2: MyPromise<boolean, {}>;
var p2: MyPromise<boolean, any>;
//// [jqueryInference.js]

View File

@ -48,7 +48,7 @@ var p2 = shouldBeIdentity(p1);
>shouldBeIdentity : Symbol(shouldBeIdentity, Decl(jqueryInference.ts, 6, 58))
>p1 : Symbol(p1, Decl(jqueryInference.ts, 10, 13))
var p2: MyPromise<boolean, {}>;
var p2: MyPromise<boolean, any>;
>p2 : Symbol(p2, Decl(jqueryInference.ts, 11, 3), Decl(jqueryInference.ts, 12, 3))
>MyPromise : Symbol(MyPromise, Decl(jqueryInference.ts, 0, 0))

View File

@ -22,11 +22,11 @@ declare const p1: MyPromise<boolean, any>;
>p1 : MyPromise<boolean, any>
var p2 = shouldBeIdentity(p1);
>p2 : MyPromise<boolean, {}>
>shouldBeIdentity(p1) : MyPromise<boolean, {}>
>p2 : MyPromise<boolean, any>
>shouldBeIdentity(p1) : MyPromise<boolean, any>
>shouldBeIdentity : <T, U>(p: DoNothingAlias<T, U>) => MyPromise<T, U>
>p1 : MyPromise<boolean, any>
var p2: MyPromise<boolean, {}>;
>p2 : MyPromise<boolean, {}>
var p2: MyPromise<boolean, any>;
>p2 : MyPromise<boolean, any>