TypeScript
TypeScript
Add type safety to your JavaScript with TypeScript.
8 lessonsAbout 105 minutes
Start the moduleLessons
- 1What is TypeScript?Understanding why TypeScript exists and how it makes JavaScript safer10 minQuiz
- 2Types & AnnotationsLearning the basic types and how to annotate your variables and functions12 minMatching
- 3Interfaces & ObjectsDefining the shape of objects with interfaces and type aliases14 minQuiz
- 4Functions & GenericsTyping functions properly and writing reusable code with generics14 minMatching
- 5Union Types & NarrowingHandling values that could be one of several types12 minScenario
- 6Working with Arrays & ObjectsTyped arrays, tuples, and TypeScript's built-in utility types14 minTimeline
- 7Setting Up a TypeScript ProjectConfiguring tsconfig.json and setting up a TypeScript project from scratch15 minTerminal
- 8TypeScript in ReactTyping React components, props, state, and events14 minScenario