Skip to content

Commit 50f5e16

Browse files
committed
Accept new baselines
1 parent 4fe59dc commit 50f5e16

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
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;}) : any
702+
>fooProm = Promise.try(Promise, () => { return foo;}) : Promise<Foo>
703703
>fooProm : Promise<Foo>
704-
>Promise.try(Promise, () => { return foo;}) : any
704+
>Promise.try(Promise, () => { return foo;}) : Promise<Foo>
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) : any
716+
>fooProm = Promise.try(Promise, () => { return foo;}, arr) : Promise<Foo>
717717
>fooProm : Promise<Foo>
718-
>Promise.try(Promise, () => { return foo;}, arr) : any
718+
>Promise.try(Promise, () => { return foo;}, arr) : Promise<Foo>
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) : any
732+
>fooProm = Promise.try(Promise, () => { return foo;}, arr, x) : Promise<Foo>
733733
>fooProm : Promise<Foo>
734-
>Promise.try(Promise, () => { return foo;}, arr, x) : any
734+
>Promise.try(Promise, () => { return foo;}, arr, x) : Promise<Foo>
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>; }

0 commit comments

Comments
 (0)