File tree 2 files changed +4
-15
lines changed
tests/baselines/reference 2 files changed +4
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,17 +4,17 @@ async function foo(x: any) {
4
4
>x : any
5
5
6
6
let abc = await Promise.all(x);
7
- >abc : { [x: string]: any; }
8
- >await Promise.all(x) : { [x: string]: any; }
9
- >Promise.all(x) : Promise<{ [x: string]: any; } >
7
+ >abc : any[]
8
+ >await Promise.all(x) : any[]
9
+ >Promise.all(x) : Promise<any[] >
10
10
>Promise.all : <T extends readonly unknown[] | []>(values: T) => Promise<{ -readonly [P in keyof T]: Awaited<T[P]>; }>
11
11
>Promise : PromiseConstructor
12
12
>all : <T extends readonly unknown[] | []>(values: T) => Promise<{ -readonly [P in keyof T]: Awaited<T[P]>; }>
13
13
>x : any
14
14
15
15
let result: any[] = abc;
16
16
>result : any[]
17
- >abc : { [x: string]: any; }
17
+ >abc : any[]
18
18
19
19
return result;
20
20
>result : any[]
You can’t perform that action at this time.
0 commit comments