Skip to content

Commit fcd6f52

Browse files
committed
Accept new baselines
1 parent 4384c90 commit fcd6f52

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

tests/baselines/reference/bluebirdStaticThis.types

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -699,9 +699,9 @@ var fooProm: Promise<Foo>;
699699
>fooProm : Promise<Foo>
700700

701701
fooProm = Promise.try(Promise, () => {
702-
>fooProm = Promise.try(Promise, () => { return foo;}) : Promise<Foo>
702+
>fooProm = Promise.try(Promise, () => { return foo;}) : any
703703
>fooProm : Promise<Foo>
704-
>Promise.try(Promise, () => { return foo;}) : Promise<Foo>
704+
>Promise.try(Promise, () => { return foo;}) : any
705705
>Promise.try : { <R>(dit: typeof Promise, fn: () => Promise.Thenable<R>, args?: any[], ctx?: any): Promise<R>; <R>(dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise<R>; }
706706
>Promise : typeof Promise
707707
>try : { <R>(dit: typeof Promise, fn: () => Promise.Thenable<R>, args?: any[], ctx?: any): Promise<R>; <R>(dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise<R>; }
@@ -713,9 +713,9 @@ fooProm = Promise.try(Promise, () => {
713713

714714
});
715715
fooProm = Promise.try(Promise, () => {
716-
>fooProm = Promise.try(Promise, () => { return foo;}, arr) : Promise<Foo>
716+
>fooProm = Promise.try(Promise, () => { return foo;}, arr) : any
717717
>fooProm : Promise<Foo>
718-
>Promise.try(Promise, () => { return foo;}, arr) : Promise<Foo>
718+
>Promise.try(Promise, () => { return foo;}, arr) : any
719719
>Promise.try : { <R>(dit: typeof Promise, fn: () => Promise.Thenable<R>, args?: any[], ctx?: any): Promise<R>; <R>(dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise<R>; }
720720
>Promise : typeof Promise
721721
>try : { <R>(dit: typeof Promise, fn: () => Promise.Thenable<R>, args?: any[], ctx?: any): Promise<R>; <R>(dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise<R>; }
@@ -729,9 +729,9 @@ fooProm = Promise.try(Promise, () => {
729729
>arr : any[]
730730

731731
fooProm = Promise.try(Promise, () => {
732-
>fooProm = Promise.try(Promise, () => { return foo;}, arr, x) : Promise<Foo>
732+
>fooProm = Promise.try(Promise, () => { return foo;}, arr, x) : any
733733
>fooProm : Promise<Foo>
734-
>Promise.try(Promise, () => { return foo;}, arr, x) : Promise<Foo>
734+
>Promise.try(Promise, () => { return foo;}, arr, x) : any
735735
>Promise.try : { <R>(dit: typeof Promise, fn: () => Promise.Thenable<R>, args?: any[], ctx?: any): Promise<R>; <R>(dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise<R>; }
736736
>Promise : typeof Promise
737737
>try : { <R>(dit: typeof Promise, fn: () => Promise.Thenable<R>, args?: any[], ctx?: any): Promise<R>; <R>(dit: typeof Promise, fn: () => R, args?: any[], ctx?: any): Promise<R>; }

tests/baselines/reference/genericCallWithFunctionTypedArguments2.types

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ var r4 = foo2(1, i2); // error
7878
>i2 : I2<string>
7979

8080
var r4b = foo2(1, a); // any
81-
>r4b : unknown
82-
>foo2(1, a) : unknown
81+
>r4b : number
82+
>foo2(1, a) : number
8383
>foo2 : <T, U>(x: T, cb: new (a: T) => U) => U
8484
>1 : 1
8585
>a : new <T>(x: T) => T
8686

8787
var r5 = foo2(1, i); // any
88-
>r5 : unknown
89-
>foo2(1, i) : unknown
88+
>r5 : number
89+
>foo2(1, i) : number
9090
>foo2 : <T, U>(x: T, cb: new (a: T) => U) => U
9191
>1 : 1
9292
>i : I
@@ -112,16 +112,16 @@ function foo3<T, U>(x: T, cb: new(a: T) => U, y: U) {
112112
}
113113

114114
var r7 = foo3(null, i, ''); // any
115-
>r7 : unknown
116-
>foo3(null, i, '') : unknown
115+
>r7 : any
116+
>foo3(null, i, '') : any
117117
>foo3 : <T, U>(x: T, cb: new (a: T) => U, y: U) => U
118118
>null : null
119119
>i : I
120120
>'' : ""
121121

122122
var r7b = foo3(null, a, ''); // any
123-
>r7b : unknown
124-
>foo3(null, a, '') : unknown
123+
>r7b : any
124+
>foo3(null, a, '') : any
125125
>foo3 : <T, U>(x: T, cb: new (a: T) => U, y: U) => U
126126
>null : null
127127
>a : new <T>(x: T) => T

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy