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

Best Courses Guides

10 Best TypeScript Courses to Take in 2024

Learn from the best free and paid TypeScript online courses, the programming language created by Microsoft to aid the development of large-scale JavaScript applications.

In this guide, I’ve selected the best online courses, resources, and tutorials to learn TypeScript for beginners and also intermediate programmers. Most of the courses are free and one of them even provides a free certificate from Microsoft itself.

TypeScript has made a huge splash in the web development industry. It is being used to develop all sorts of amateur and professional projects and websites by all sorts of notable companies like Slack and medium.com. And with Microsoft fully backing the TypeScript language, it doesn’t seem like TypeScript will go away anytime soon. Rather, it will only increase in popularity, as according to The State of JS 2021 survey, 69% of JavaScript developers use TypeScript, compared to just 21% six years ago.

Here are my top picks. Click on one to skip to the course details:

Course Workload In Brief
1. Learn Typescript for free (Scrimba) 3 hours long Best interactive course for beginners
2. Build JavaScript applications using TypeScript (Microsoft) 6–7 hours long Best interactive article-based course with free certificate
3. Learn TypeScript – Full Course for Beginners (fCC) 2 hours long Best concise course to get you started
4. Code Mastery TypeScript (CodeMastery.dev) 3–6 hours long Best alternative to 2.
5. No BS TS (Jack Herrington) 8 hours long Best video-based course
6. Learn TypeScript (Codecademy) 10 hours long Best interactive coding learning platform
7. TypeScript Deep Dive (Basarat Ali) Self-paced Best text-based course
8. Up and Running with TypeScript (egghead.io) 30 mins long Best concise course under an hour
9. TypeScript Basics (executeprogram.com) 3 hours long Best alternative to 6.
10. Understanding TypeScript – 2022 Edition (Academind) 15 hours long Best comprehensive course, covering advanced topics

What is TypeScript?

TypeScript is a strongly-typed programming language created by Microsoft to aid the development of large-scale JavaScript applications. It is a superset of JavaScript and transpiles to clean readable JS.

JavaScript is a dynamically-typed language. This means that it can get difficult to track the properties of objects in a large codebase, along with being unable to take advantage of intelligent code inspections. TypeScript solves these issues by forcing the programmer to declare types, saving the programmer a lot of trouble down the road.

TypeScript is also, in a lot of ways, modern. Not only do you have a flexible type system, you also have access to interfaces, async/await, and much more. To top it all off, TypeScript is compatible with all existing JavaScript packages! With these reasons in mind, it’s easy to see why TypeScript is the 2nd most wanted programming language among developers according to the StackOverflow Developer Survey, and why the estimated total pay for a Typescript Developer is $90K+ a year.

Click here to find you next course on Class Central

Best Courses Guides Methodology

I built this ranking following the now tried-and-tested methodology used in previous Best Courses Guides (you can find them all here). It involves a three-step process:

  1. Research: I started by leveraging Class Central’s database with 100K online courses and 200K reviews. Then, I made a preliminary selection of 80+ Typescript courses by rating, reviews, and bookmarks.
  2. Evaluate: I read through reviews on Class Central, Reddit, and course providers to understand what other learners thought about each course and combined it with my own experience as a learner.
  3. Select: Well-made courses were picked if they presented valuable and engaging content and they have to fit in a set of criteria and be ranked accordingly: comprehensive curriculum, price, release date, ratings and enrollments.

Course Ranking Statistics

Here are some aggregate stats about the ranking:

  • Around 150K people in total have enrolled for the courses in this ranking.
  • All of the courses except for 2 are free or free-to-audit.
  • Additionally, all of the courses in this ranking assume some basic knowledge of JavaScript, as TypeScript is a superset of JavaScript.
  • Around 1.8K people are following Class Central’s TypeScript Topic.

Without further ado, let’s go through the top picks.

1. Learn Typescript for free (Scrimba)

My #1 pick for the best TypeScript course is Scrimba’s Learn Typescript for free.

This free course gets you started with TypeScript by breaking everything you need to know down into small, approachable chunks. It emphasizes a practical approach of learning by doing where you’ll build a couch-surfing website. By the end of the course, you’ll cover primitive data types, structural data types, file organization, modules, classes, compiling, and more.

Additionally, Scrimba has a helpful Discord community where you can ask questions and share ideas with fellow learners and mentors.

To take this course, you should have a basic understanding of HTML, CSS, and JavaScript.

What You’ll Learn

The course begins with an introduction to TypeScript by first introducing you to types in JavaScript so that when you start working with TypeScript, you’ll appreciate its ease of use and new features over JavaScript.

Afterward, you’ll begin a challenge — fixing a website. You’ll learn about type assignment, inference, property objects, and dashboards within this context. Additionally, you’ll learn about object types, array types, and tuples.

That’s not all the types you’ll learn, though. You’ll learn the following essential types in depth: enum, any, union, literal, function return, void, unknown, and never. Then, you’ll apply them to several mini-challenges the course has in store for you.

Finally, the course wraps up by introducing interfaces, modules, and classes — three concepts needed to develop your dashboard fully. You’ll also learn about the TypeScript compiler, common errors made by TypeScript programmers, and where to go next after the course.

How You’ll Learn

The course is 3 hours long. You’ll learn by watching the lecture videos, reading the course articles, completing the mini-challenges, and stretching your TypeScript skills by building a couch-surfing website.

Institution Scrimba
Instructor Ania Kubow
Level Intermediate
Workload 3 hours total
Enrollments 9.4K
Certificate Paid

Fun Facts

If you’re interested in this course, you can find more information about the course and how to enroll here.

2. Build JavaScript applications using TypeScript (Microsoft Learn)

My second pick for the best TypeScript course is Build JavaScript applications using TypeScript by Microsoft Learn.

In this course, you’ll learn how using TypeScript for JavaScript development can help you build more robust code, reduce runtime type errors, take advantage of modern features before they are available in JavaScript, and work better with development teams.

Additionally, if you complete the course you’ll get a free certificate!

To take this course, you’ll need basic familiarity with HTML and JavaScript ES6.

What You’ll Learn

The course begins by helping you set up your TypeScript programming environment in Visual Studio Code. Then, you’ll learn one of the key differences between JavaScript and TypeScript — TypeScript’s static type system. The system provides better documentation, preventing developers from accidentally mixing data types.

Another difference between the two languages is that TypeScript supports interfaces through object-oriented programming, whereas JavaScript doesn’t. So you’ll learn how to declare and instantiate an interface and extend it.

TypeScript adds new capabilities to the standard JavaScript functions and classes to make them easier to work with. For example, you’ll learn how to use type annotations, specify the default or optional parameters of a function, and use type aliases or interfaces to define functions and classes.

Generics are code templates you can define and reuse throughout your codebase; something JavaScript does not have. They tell functions, classes, or interfaces what type you want to use when you call it. You’ll learn how and when to use them in your code, including specifying generic constraints.

The final modules teach you two ways to organize your code: modules and namespaces. You’ll first learn about modules and how to import external type libraries with them before learning about namespaces and how they differ from modules in terms of having global variables with structure.

How You’ll Learn

This course is 6–7 hours long. You’ll primarily learn by reading the articles and working through the interactive coding exercises, multiple-choice quizzes, and labs provided.

Institution Microsoft
Provider Microsoft Learn
Level Intermediate
Workload 6–7 hours total
Certificate Free

Fun Facts

  • Microsoft Learn is a free, online training platform that provides interactive learning for Microsoft products and programming languages, like C++, C#, Python, and TypeScript.

If you’re interested in this course, you can find more information about the course and how to enroll here.

3. Learn TypeScript – Full Course for Beginners (freeCodeCamp)

My third pick for the best TypeScript course is Learn TypeScript – Full Course for Beginners by freeCodeCamp.

The free course will teach you everything you need to know about TypeScript to use it fluently everyday. By the end of this course, you’ll understand all modern TypeScript features.

To take this course, you should have some basic JavaScript knowledge.

What You’ll Learn

The course begins with an overview of the TypeScript language and why developers should use it.

After installing the tools needed to code in TypeScript, you’ll get an introduction to Typescript’s type definition that represents data as object types. This helps you write less error-prone code as you can be sure that one variable will always have the same type no matter what. You’ll learn a few key types in-depth, like union, any, never, and void.

Then, you’ll learn about interfaces, a structure that defines the code ‘contract’, and understand why it is vital to bind not only yourself but other developers to this contract.

Websites revolve around the DOM, and TypeScript is no stranger to that. You’ll learn how to utilize TypeScript to manipulate DOM, including how to create classes, generic interfaces, generic functions, and enums.

How You’ll Learn

This course is 2 hours long. You’ll learn by watching the lecture video and following along with the lecturer as he codes by looking at the code posted on GitHub.

Institution freeCodeCamp
Provider YouTube
Instructor Alexander Kochergin
Level Beginner
Workload 2 hours total
Views 257K
Likes 8K
Certificate None

Fun Facts

  • Alexander Kochergin has a YouTube channel called Monsterlessons Academy where he shares experiences and teaches courses related to programming. Check it out!

If you’re interested in this course, you can find more information about the course and how to enroll here.

4. Code Mastery TypeScript (CodeMastery.dev)

If you’re looking for an interactive hands-on course, Code Mastery is the way to go.

The free course is designed to be completed in a few short sessions. By the end of the course, you’ll be an expert at TypeScript.

To take this course, you should have some experience with JavaScript.

What You’ll Learn

The course welcomes you with the basics of TypeScript. You’ll go through TypeScript’s type annotations and the fundamental types (number, boolean, array, object). You’ll also learn how to make your named types with type aliases. Additionally, you’ll know how types can be used alongside functions to create optional arguments.

Next, you’ll learn about the fundamental concepts of TypeScript. You’ll begin with type inference before moving on to literal types and the union of literals. Afterward, you’ll study typeof and keyof operators. Generics will also be introduced, and the course will show you how to create constraints with them.

The course also teaches you several utilities that you could use, including partial, required, pick, omit, extract, and more. You’ll then learn some advanced concepts, like how to retrieve the type of the elements of an array type, check properties of objects, and nested conditionals. The course also includes some valuable tools that programmers can use.

How You’ll Learn

The course is 3–6 hours long. You’ll learn by going through the interactive exercises and reading the course material. Additionally, you’ll also complete a quiz that’ll test your understanding of TypeScript’s types and complete a few challenges that’ll stretch your skills to its limits.

Institution CodeMastery
Level Beginner
Workload 3–6 hours total
Certificate None

Fun Facts

  • CodeMastery.dev also offers small, fast-paced modules on JavaScript and Golang.

If you’re interested in this course, you can find more information about the course and how to enroll here.

5. No BS TS (Jack Herrington)

No BS TS cuts through the fluff and gets you right into programming with TypeScript.

By the end of this free course, you’ll be able to work comfortably in TypeScript projects by yourself.

To take this course, you’ll need to have some JavaScript background.

What You’ll Learn

The course begins with a simple introduction to TypeScript, setting it up and studying its type system, conditionals, and loops. Then, you’ll explore the new properties TypeScript’s function has in store, like its unique types (any, never, void), overloading, and optional arguments.

Then, you’ll learn how to create and modify tuples before learning about generics and enums. Finally, as TypeScript is object-oriented, you’ll learn how to define and initialize structures.

React makes up the next section of this course. You’ll learn how to set up React, create custom hooks, use generic components, and more. Finally, you’ll end the course by setting up a project by yourself.

How You’ll Learn

This course is 8 hours long. You’ll learn by watching the video lectures and coding along with the instructors.

Provider YouTube
Instructor Jack Herrington
Level Beginner
Workload 8 hours total
Views 57K
Rating 2K
Certificate None

Fun Facts

  • Jack Herrington’s YouTube channel features frontend tutorials from the basic to very advanced.
  • He created courses on JavaScript and React.

If you’re interested in this course, you can find more information about the course and how to enroll here.

6. Learn TypeScript (Codecademy)

Learn TypeScript by Codecademy is an excellent way to learn TypeScript through guided tutorials.

In this free course, you’ll apply the JavaScript syntax you already know to TypeScript’s type system. By the end of the course, you’ll be familiar with how TypeScript works.

You’ll need some JavaScript experience to get the most out of this course.

What You’ll Learn

The course begins with an introduction to the TypeScript language and a taste of TypeScript’s type system of annotations. Next, you’ll learn how to write functions in TypeScript. They are similar to JavaScript, but TypeScript’s functions behave a bit differently, which you’ll find out in the course.

You’ve only seen the tip of the type iceberg. The following few lessons focus more on types, as TypeScript revolves around the type system (as the language name implies). In addition, you’ll learn about complex types for complex data structures (like arrays and objects) and union types for combining individual types into flexible combinations.

The final few lessons discuss how to speed up the runtime behavior of your code with type guards, a process called type narrowing. Finally, you’ll finish the course by covering a few advanced concepts, like interfaces that help you write types and classes, deep and composed types, and index signatures.

How You’ll Learn

This course is 10 hours long. You’ll learn by going through the interactive course articles and exercises that provide a hands-on practical learning experience.

If you’re a Codecademy Pro member, you’ll be able to earn a certificate when you complete the course. Furthermore, you’ll complete three projects that you can add to your portfolio, and have access to quizzes that’ll help you remember what you’ve learned.

Institution Codecademy
Level Beginner
Workload 10 hours total
Certificate Paid

Fun Facts

  • Codecademy was co-founded by Zach Sims and Ryan Bubinski, with the goal of giving  anyone in the world the ability to learn the skills they’d need to succeed in the 21st century.
  • They offer free courses in 12 different programming languages, the most popular ones being Python, Java, Ruby, C++, C#, and Swift.

If you’re interested in this course, you can find more information about the course and how to enroll here.

7. TypeScript Deep Dive (Basarat Ali)

If you are more into reading stuff, TypeScript Deep Dive is for you.

In this free course, you’ll learn everything that you need to know to code in TypeScript. This course is very comprehensive, so you’ll have plenty of material to go through.

You’ll need to have some JavaScript knowledge to take this course.

What You’ll Learn

You’ll begin the course by understanding the advantages of TypeScript over JavaScript, specifically the type system. However, knowing some JavaScript is also essential to understanding TypeScript, as TypeScript is a superset of JavaScript. Hence, you’ll go through some features in JavaScript, including how to migrate JavaScript code to TypeScript code.

Next, you’ll thoroughly explore TypeScript’s type systems, like type assertion and type inference. Then, you’ll explore the many types TypeScript has to offer. You’ll also learn about interfaces that act as a contract that code must abide by.

Moving on, you’ll learn how to manage a TypeScript project. First, you’ll learn about modules and namespaces, which organize and structure your code. Then, you’ll learn how to asynchronously request a module from any point in your program with dynamic import expressions.

The TypeScript compiler can be extensively customized, and you’ll learn how to modify its settings to suit your needs. The TypeScript compiler also gives helpful error messages, so you’ll learn how to interpret them and the common errors developers make in their code.

The final parts of the course cover developer tools like testing your TypeScript code with Jest or Cypress, code formatters and linters like Prettier and ESLint, and tips and tricks every developer should know.

How You’ll Learn

The course is self-paced, meaning that there is no set time limit on whether the course is over. You’ll learn primarily by reading course notes and looking through the example code provided.

Provider GitHub
Instructor Basarat Ali
Level Beginner
Workload Self-paced
Certificate None

Fun Facts

  • Basarat Ali is a Microsoft MVP for TypeScript, a book author, and a YouTuber.
  • His YouTube channel, Basarat Codes, features mainly web development courses like React and NextJS.

If you’re interested in this course, you can find more information about the course and how to enroll here.

8. Up and Running with TypeScript (egghead.io)

If you’re in a hurry, Up and Running with TypeScript will accomplish exactly what the title says in less than half an hour!

This sweet and concise free course will teach you the bare basics to coding with TypeScript. By the end of the course, you’ll know about the TypeScript compiler, configuring your project, definition files, and how to use TypeScript in your project.

To take this course, you’ll need some experience with JavaScript.

What You’ll Learn

The course begins by setting up a typical TypeScript project. Then, you’ll learn how to configure TypeScript for React and JSX, which means you’ll need to understand how the TypeScript compiler works.

You’ll learn TypeScript by exploring the type system and by writing functions. Next, you’ll work with DOM elements through type assertions and create generics that allow components to work with any type. Finally, you’ll use type definitions for npm projects.

How You’ll Learn

This course is 30 mins long. You’ll learn by watching the lecture videos and following along with the lecturer as he codes.

Provider egghead.io
Instructor John Lindquist
Level Intermediate
Workload 30 mins total
Enrollments 4K
Rating 4.3 / 5.0 (4K)
Certificate None

Fun Facts

  • egghead.io is a community where web developers learn from each other through curating high-quality video courses, short lessons, and workshops.

If you’re interested in this course, you can find more information about the course and how to enroll here.

9. TypeScript Basics (executeprogram.com)

This paid course with 16 lessons free trial covers the TypeScript programming language.

One advantage of this course is that you’ll write code in the course’s in-browser terminal that works like a typical command line terminal, making it perfect for hands-on learners.

The course assumes that you know some basic JavaScript concepts, although if you aren’t confident in your memory you can always look things up along the way.

What You’ll Learn

The course begins with an introduction to TypeScript’s type system, the most defining feature of the language. Before exploring the operators and built-in JavaScript features, you’ll learn the fundamental types.

Type inference is an essential part of Typescript programming, and you’ll spend some time learning when to use it. Besides that, you’ll learn about functions and arrays, taking a closer look at the type keyword and the difference between syntax and type errors before returning to object types and return type inference.

Next, you’ll learn about generics, including generic arrays, generic functions, and generic object types. You’ll then study conditional narrowing before closing the lesson with nullability.

How You’ll Learn

This course lasts one week, where you’ll spend at least 3 hours on the course. You’ll learn by completing lessons, which are short explanations with real code examples and exercises, and quizzes that test your knowledge of the syllabus.

Execute Program is also based on spaced repetition, where the course keeps track of what you’ve learnt and what you need to review after a period of time, reinforcing your memory of important programming concepts.

Institution Execute Program
Level Beginner
Workload 3 hours long
Certificate Paid

Fun Facts

  • Gary Bernhardt is the creator of Execute Program. They offer interactive lessons on various programming languages and technologies.
  • After completing the course, the next course you should take is Everyday TypeScript and Advanced TypeScript.

If you’re interested in this course, you can find more information about the course and how to enroll here.

10. Understanding TypeScript – 2022 Edition (Academind)

Understanding TypeScript will take you from the very basics all the way to coding proficiency.

The free course teaches you not only the concepts you need to know to program in TypeScript, but it will also provide you with projects for you to practice what you’ve learned, cementing your hard-earned skills. By the end of the course, you’ll be familiar with TypeScript and not only that, you’ll also be equipped with the knowledge of two frameworks: Angular and ReactJS.

To take this course, you’ll need some basic familiarity with JavaScript.

What You’ll Learn

The course begins by explaining the advantage of TypeScript over JavaScript. Then, you’ll get into the basics of TypeScript. Next, you’ll see what TypeScript brings to the table, like declared types and features, and study them in depth. Afterward, you’ll learn about the compiler, especially how to tinker with its settings. Finally, you’ll explore next-generation JavaScript features and how to integrate them into your TypeScript code.

TypeScript has plenty of advanced features you’ll need to know to become a good programmer, generics for code reusability, and decorators for modifying the behavior of a function. Finally, you’ll tie up what you’ve learned so far by completing a comprehensive project where you’ll encounter problems that only occur when you embark on a project yourself, like how namespaces and modules are essential for organizing code.

The course’s final section covers essential tips and features related to TypeScript. You’ll learn about Webpack used in modern front-end development and third-party libraries and frameworks you’ll encounter throughout your professional careers, like Angular, ReactJS, and NodeJS.

How You’ll Learn

This course is 15 hours long. You’ll learn by watching the lecture videos, going through the course materials, working on the course project, and testing your knowledge with the end-of-module questions.

Institution Academind
Provider Udemy
Instructor Maximilian Schwarzmüller
Level Beginner
Workload 15 hours total
Enrollments 159K
Rating 4.7 / 5.0 (33K)
Certificate Paid

Fun Facts

  • Maximilian is the co-founder of Academind, a platform with over 40 high-quality programming video courses focusing mainly on web development.

If you’re interested in this course, you can find more information about the course and how to enroll here.

Elham Nazif Profile Image

Elham Nazif

Part-time content writer, full-time computer science student.

Comments 4

  1. Daniel Buompane

    Just an FYI, the Scrimba course is not free. The first 3 videos are and then it requires you to subscribe.

    Reply
    • Elham Nazif

      Hi Daniel,

      I wasn’t aware of that, thanks for bringing it up. I’ll look further into the issue, since I think the course instructor have changed but they kept the course title the same.

      Reply
    • Elham Nazif

      I’ve asked the folks at Scrimba about the course and it turns out that it’s been mistakenly put into a pro-only setting. This issue is now fixed.

      On another note, Scrimba seems to be planning on releasing a new TypeScript course later this year, so lets keep an eye out for that!

      Reply
  2. Jim

    @Elham, Office Scripts is based on TypeScript at https://learn.microsoft.com/en-us/office/dev/scripts/develop/scripting-fundamentals . Since I’m interested in only Office Scripts in Excel, I think that I don’t need to learn TypeScript’s entire library. Do you have any recommendations? Thanks.

    Reply

Leave a reply

Your email address will not be published. All comments go through moderation, so your comment won't display immediately.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Browse our catalog

Discover thousands of free online courses from top universities around the world like MIT, Stanford, and Harvard.

Browse all subjects