TypeScript for Backend Developers
You know how to code. You've built things in Go, Python, Java, or something similar. But TypeScript keeps showing up in codebases you need to read, tools you need to configure, and teams you need to work with.
This course skips the basics you already know. No "what is a variable" lessons. Instead, it focuses on what makes TypeScript different from what you're used to, and the patterns you'll see in every real codebase.
What You'll Learn
- The Runtime: why JS is single threaded, how the event loop works, and why async is everywhere
- Values and Equality:
nullvsundefined,==vs===, truthy/falsy, optional chaining - Functions, Closures and
this: the biggest source of confusion for backend devs - Objects and Prototypes: why JS objects aren't structs or dicts (except when they are)
- The Type System: structural typing,
any/unknown/never, type narrowing - Interfaces, Types and Unions: discriminated unions, exhaustive switches,
interfacevstype - Generics and Utility Types:
Pick,Omit,Record, mapped types, conditional types - Async Patterns: promises, async/await,
Promise.all,AbortController - Modules: ESM vs CJS, why two systems exist, what to actually use
- Error Handling: try/catch patterns that are as reliable as Go's explicit errors
- tsconfig and Tooling:
strict: true, ESLint, npm vs the Go toolchain - Reading Real Codebases: middleware chains, generic API clients, Zod, builder patterns
Prerequisites
Solid programming experience in any typed or strongly opinionated language. If you've written functions, handled errors, and worked with types before, you're ready.
Course Structure
Twelve lessons. Each one focuses on a concept that works differently in TypeScript than what you're used to. Every section has code you can run, and every lesson ends with quizzes.
Ready to start? Choose your first lesson from the sidebar!