PromiseAll

Hard

Create generic PromiseAll<T> which returns the type of resolved values array from Promise array.

Examples:

Input 1: type Result = PromiseAll<[Promise<string>, Promise<number>]>
Output 1: [string, number]
Output
Run your code to see results.