@openshift-console/dynamic-plugin-sdk-webpack
Version:
Provides webpack ConsoleRemotePlugin used to build all dynamic plugin assets.
7 lines (6 loc) • 318 B
TypeScript
/**
* Await `Promise.allSettled(promises)` and unwrap the resulting objects.
*
* `Promise.allSettled` never rejects, therefore the resulting `Promise` never rejects.
*/
export declare const settleAllPromises: <T = any>(promises: Promise<T>[]) => Promise<[Awaited<T>[], any[], PromiseSettledResult<Awaited<T>>[]]>;