Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Learn TypeScript – Full Tutorial

via freeCodeCamp

Overview

Embark on a comprehensive 4-5 hour journey into TypeScript programming with this full tutorial designed for beginners. Explore the fundamentals of this typed superset of JavaScript, which compiles to plain JavaScript and offers enhanced error checking through its static type system. Dive into essential concepts such as type inference, functions, objects, arrays, unions, tuples, enums, interfaces, classes, generics, and type narrowing. Learn how to set up TypeScript for real projects, understand the importance of interfaces, and master advanced topics like abstract classes and discriminated unions. Gain practical knowledge through hands-on examples and discover best practices for writing efficient TypeScript code. By the end of this tutorial, develop a solid foundation in TypeScript programming and be prepared to leverage its powerful features in your own projects.

Syllabus

⌨️ Why to learn TypeScript
⌨️ TypeScript is not what you think
⌨️ How to install TypeScript
⌨️ Your first intro to TypeScript docs
⌨️ Number, boolean, and type inference
⌨️ Number, boolean, and type inference
⌨️ Don't use ANY
⌨️ Do you really know functions
⌨️ A better way to write function
⌨️ Bad behavior of objects
⌨️ Type Aliases
⌨️ READONLY and optional
⌨️ Array
⌨️ Union Types in TS
⌨️ Tuples
⌨️ Enums
⌨️ interface
⌨️ Interface vs Type
⌨️ How to setup Typescript for real projects
⌨️ Classes
⌨️ Private Public
⌨️ Getters and Setters
⌨️ Protected
⌨️ Why Interface is important
⌨️ Abstract class
⌨️ Generics
⌨️ Generics in Array and Arrow functions
⌨️ Generic Classes
⌨️ Type Narrowing
⌨️ The in operator narrowing
⌨️ Instanceof and Type Predicates
⌨️ Discriminated Union and Exhaustiveness Checking with never
⌨️ TypeScript End

Taught by

freeCodeCamp.org

Reviews

5.0 rating, based on 2 Class Central reviews

Start your review of Learn TypeScript – Full Tutorial

  • Very nice and informative typescript course. Thank you Hitesh and free code camp to make the course free and also a special thanks for classcentral to include this course.
  • Profile image for James F. Thomas
    James F. Thomas
    I think this was a good introductory course to typescript. A good foundation for whatever your next step will be.

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.