Is there a way to import the all
function from lib.es6.d
? This would allow me to simplify my code like so:
await all([
promise1,
promise2
]);
Instead of using await Promise.all
. Can anyone provide guidance on how I can achieve this?