Conclusion

This lesson concludes the course.

Thank you so much for looking into this course! I hope you enjoyed it, and I’m confident you will find your newly acquired TypeScript skills helpful. The course focused on the most practical bits of advanced TypeScript knowledge. Every topic we’ve discussed should benefit your day-to-day productivity.

You’ve learned about the most important compiler flags responsible for increasing the strictness of type checking. The stricter the checks, the more potential errors you will find and fix before they reach production.

We’ve discussed generic types and functions in detail. You should now have no trouble using and creating your own generic types. You’ve also gained a new way of thinking about generic types as of type constructors.

Most importantly, you’ve learned how to compose types with discriminated unions. You’re now able to express complex business rules in the type system and have the type checker ensure the correctness of your code.

You’ve seen various advanced type mechanisms in TypeScript and now have an intuition about when they can be useful. Finally, you’ve seen how to debug type errors and how to analyze complex types in popular libraries.

Get hands-on with 1400+ tech skills courses.