How to Reject a Promise in async/await with TypeScript | CodeTrail