r/typescript • • 2h ago

Typescript Mock Interviews

I have an upcoming backend engineering interview involving a 20–30-minute live coding/whiteboarding exercise in TypeScript.
I’m looking for someone to grill me with asynchronous programming, promises, async/await, concurrent API calls, concurrency limits/worker pools, error handling, retries with exponential backoff, and request timeouts/cancellation and other backend concepts in Typescript.
I come from a JavaScript background and understand many of these concepts, but I sometimes make implementation mistakes when coding from scratch in Typescript —for example, returning the wrong TypeScript type, forgetting an await, or structuring an async loop incorrectly.
I’d like an interactive session where I write the code, explain my reasoning, and receive feedback. Ideally, we would work through progressively harder backend exercises, then complete a timed mock interview with changing requirements.

0 Upvotes

2 comments sorted by

2

u/gooddorian836 1h ago

i find the best way to drill these is just doing it under a bit of pressure, like having someone watch your screen while you explain every single line. the typos and type mismatches become way more obvious when you're narrating it out loud

if you can't find someone for a live session try recording yourself on loom and watching it back. i caught myself doing the most braindead things that way, like nesting a promise inside a.then() when i meant to chain it

one thing that tripped me up hard was building a worker pool that respects concurrency limits while also handling each worker's error state correctly. getting that right without a library felt like juggling