TypeScript Fundamentals
Learn TypeScript types, generics and strict mode to catch bugs before runtime. A hands-on course for JavaScript developers.
Start course →
What you'll learn
- Configure a project with `tsconfig.json` and strict mode.
- Annotate variables, functions, objects and classes with the right types.
- Model data with unions, literals, enums and discriminated unions.
- Write reusable code with generics and utility types.
- Narrow types safely and type asynchronous code.