This course introduces you to the essential building blocks of TypeScript through a hands-on approach. You'll explore the fundamentals of TypeScript, learn to leverage TypeScript in React, and explore TypeScript in Express, plus build a TypeScript-based project.
TypeScript catches errors before your code even runs. That means fewer bugs, smoother projects, and less rage-quitting! Plus, its type system makes refactoring and collaborating a breeze.
In the first module, Getting Started with TypeScript, you'll cover:
- Basic, literal & custom types
- Arrays, objects & optional properties
- Union types
Module Two, Applying Advanced TypeScript concepts, introduces you to:
- Narrowing, return types, and utility types
- Function calls
Module Three, TypeScript in React, will acquaint you with:
- Initialising a React + TypeScript project
- Typing useState, props & components
- Working with JSX that may return null
Finally, in the TypeScript in Express module, you'll get to grips with:
- Setting up a TS-powered Express server
- Typed requests, responses & data
- Handling CORS, 404s, IDs & query params
- Automating server restarts with confidence
Ready to make your code safer? Let's go!
Overview
Syllabus
- Getting Started with TypeScript
- Learn the foundational concepts of TypeScript, including type annotations, custom types, and handling complex data structures, to build safer and more maintainable code.
- Applying Advanced TypeScript Concepts
- Master advanced TypeScript features like utility types, generics, type narrowing, and function return types to create robust, scalable, and reusable code solutions.
- TypeScript in React
- This module covers typing props, state, functions, and components—all with hands-on examples and challenges. You’ll gain confidence using TypeScript in real React projects and write safer, more predictable code.
- TypeScript in Express
- This module guides you through building a fully typed Express server with TypeScript, showing you how to structure routes, controllers, middleware, and data handling in a way that’s safe, scalable, and easy to maintain.
Taught by
Per Harald Borgen and Ania Kubow