This course is up to date, guaranteed
We'll start the course off with some housekeeping items. You'll learn about the best strategy for getting the most out of the course as well as what you'll build during the course.
TypeScript is both a type checker and a compiler, so you'll need to install it to use it with your projects. You'll also learn about the most important configuration settings for TypeScript.
At this point, you've learned enough to actually build a program in TypeScript! We'll make Tic Tac Toe using TypeScript so you can get a feel for how to write type definitions that match the data structures you use in your code.
Often, you'll find that you have a value that could be several different types. How can you tell what type it actually is? Once you learn about Type Narrowing, you can add runtime checks to determine the type of any value.
Modules are all about getting code from one file into another file. TypeScript has a nuanced approach to modules, so you'll learn what things to watch out for as you use modules in your TypeScript code.
TypeScript 4.1 may have come out a week before this course launched, but that doesn't mean you won't learn about the new goodies that came with it! You'll learn about several new transformation types that come with the latest version of TypeScript.
Whenever you learn a new tool, you should first ask yourself why it's necessary. If you can't answer that question, you may not need it. In this section, we'll answer that question in regards to TypeScript as well as cover some other programming fundamentals that TypeScript utilizes. We'll also do a quick refresher on how JavaScript (and thus TypeScript) features are standardized.
Now that you're all set up, you can start writing TypeScript code! You'll learn about the TypeScript type checker and how to write type annotations when the type checker can't automatically infer them.
In this section you'll learn about how to define classes and some special features that TypeScript provides to give your classes a bit of extra type safety.
Just like you can write functions to reuse code, you can write generic types to reuse type definitions throughout your codebase. We'll even look at a real-world library to see how it uses generics.
What happens when you want to use JavaScript code in TypeScript? Can you even do that without sacrificing type safety? Yes, you can, with declaration files. You'll learn about the type definitions that ship with TypeScript, third-party type definitions, and how to write your own type definitions for third-party modules.
In this section you'll learn about all the things that don't really fit with the normal flow of the course.
Types are fundamental to TypeScript, so naturally you'll need to be familiar with the base types that exist in JavaScript.
TypeScript includes a few special types which it uses to augment the types that come with JavaScript. You'll learn how you can use these to add better type safety to your programs.
TypeScript comes with its own set of operators which you can use to transform your types. You'll also learn about some special ways to add type annotations to functions.
Once you understand generics, a whole world of possibility opens up. You can use TypeScript operators with generic types to transform your types in really powerful ways. You'll apply what you learn by recreating the utility types that ship with TypeScript!
There are a lot more configuration options for TypeScript, so you'll learn about a few more. You'll also learn how to configure TypeScript for several different development environments.
Now that we know a bit more about configuring TypeScript, we'll use this knowledge to write a Node.js server using TypeScript. We'll handle the request and response object, create a few routes, and even grab some dynamic data.
This is the part where we're supposed to tell you how great the course is. Even better if we get other "famous" developers to give their "reviews". Instead, we'll let those who have actually taken the course do that.
27 Reviews
Alex you were excellent right throughout the course with your explanation on TS. The course was well balanced when it comes to each section. Thanks
The content of the course was good, but it focuses too deeply on intricate nuances of TypeScript and less on how to build with TypeScript. I watched all the videos, completed all the quizzes, did all the practice exercises, and built the projects. But I still don't feel comfortable building with TypeScript. I recommend creating an "Advanced TypeScript" course that teaches the more complicated types. In its place, create many more projects that walk developers through building things. The practices were okay, but they focused more on knowledge checks rather than applying knowledge. I worry that I will quickly forget much of what I have learned because I haven't really applied it to anything. Particularly for complex types, it's hard to even think of a scenario (other than the toy ones mentioned in the course) where I could use them. I need to be shown through projects.
The course is awesome!
Like the other courses, this one is wonderful. Continue at the same pace. You are one of the best!
Great course, very crystal clear content and at a very comfortable pace. It is a long course perhaps 2 projects would have been better, one before Generics and other towards the end where we could play more with mapped types, conditional types etc. There was quite a bit of content on configurations towards the end, I think it would have been better if we could see some of those in action in the project-work.
As I developer who has been using TypeScript for 2 years a learnt a lot! It's not too fetched while managing to cover every topic. It's also great that I have an option to choose between text and video materials.
Very through and explains concepts clearly. Some of the bonuses were hard to grasp by just listening/watching but the text descriptions helped
Awesome. Thanks
I really enjoyed this course. Alex Anderson is an excellent instructor. The course is very well structured and encompasses a lot of content. I learned a lot.
Very in-depth, covered a lot of great content which i'm sure to apply in my work.
Join thousands of ambitious developers who use our courses, community, and weekly events to scale their JavaScript careers.