Add missing type information for Promise.all and Promise.race