Reject the next promise with TypeError
Fix the promise to reject