mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 21:53:42 -06:00
Accept new baselines
This commit is contained in:
parent
15610faa9d
commit
62e270c04d
2
tests/baselines/reference/jqueryInference.js
vendored
2
tests/baselines/reference/jqueryInference.js
vendored
@ -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]
|
||||
|
||||
@ -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))
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user