add TypeError for Promise.all & race