@@ -699,9 +699,9 @@ var fooProm: Promise<Foo>;
699
699
>fooProm : Promise<Foo>
700
700
701
701
fooProm = Promise.try(Promise, () => {
702
- >fooProm = Promise.try(Promise, () => { return foo;}) : Promise<Foo>
702
+ >fooProm = Promise.try(Promise, () => { return foo;}) : any
703
703
>fooProm : Promise<Foo>
704
- >Promise.try(Promise, () => { return foo;}) : Promise<Foo>
704
+ >Promise.try(Promise, () => { return foo;}) : any
705
705
>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>; }
706
706
>Promise : typeof Promise
707
707
>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, () => {
713
713
714
714
});
715
715
fooProm = Promise.try(Promise, () => {
716
- >fooProm = Promise.try(Promise, () => { return foo;}, arr) : Promise<Foo>
716
+ >fooProm = Promise.try(Promise, () => { return foo;}, arr) : any
717
717
>fooProm : Promise<Foo>
718
- >Promise.try(Promise, () => { return foo;}, arr) : Promise<Foo>
718
+ >Promise.try(Promise, () => { return foo;}, arr) : any
719
719
>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>; }
720
720
>Promise : typeof Promise
721
721
>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, () => {
729
729
>arr : any[]
730
730
731
731
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
733
733
>fooProm : Promise<Foo>
734
- >Promise.try(Promise, () => { return foo;}, arr, x) : Promise<Foo>
734
+ >Promise.try(Promise, () => { return foo;}, arr, x) : any
735
735
>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>; }
736
736
>Promise : typeof Promise
737
737
>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