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

`Promise.all` and `Promise.race` have broken type information. This patch fixes it by adding the missing @ character to the `param` annotation and adding a '@return` annotation.