AI-powered learning
Save this course
Learn TypeScript: The Complete Course for Beginners
Gain insights into TypeScript's core concepts, from basics to advanced type checking and iterators. Learn about static typing and JS library support through practical, hands-on experience.
4.5
114 Lessons
12h
Join 2.9 million developers at
Join 2.9 million developers at
Learning Roadmap
1.
Introduction
Introduction
Get familiar with TypeScript's basics, its philosophy, benefits, and practical use cases.
2.
The Basics of Variables
The Basics of Variables
Get started with TypeScript variables, scoping, and type declarations, emphasizing best practices.
Declaring a VariableDeclaring Types in Untyped CodeHoisting VariablesTypeScript Scope is JavaScript ScopeSwitch ScopeThe Multiple Methods of Declaring a StringString-Tagged TemplatesWhat is a Number in TypeScript?Booleans, Functions, and ObjectsAvoiding `any` at Any Time PossibleMutable and Immutable ArraysUndefined Versus NullReturning nothing with VoidThe Primitive Type neverUnknown: A Better anyLiteral Type to Narrow Primitive TypeSymbol and Unique SymbolCasting to Change Type
4.
Enum
Enum
4 Lessons
4 Lessons
Enhance your skills in leveraging TypeScript enums, improving type safety, performance, and functionality.
5.
Generic Type
Generic Type
9 Lessons
9 Lessons
Deepen your knowledge of generics in TypeScript, enhancing type safety and code reusability.
6.
Functions
Functions
10 Lessons
10 Lessons
Tackle TypeScript functions with strong signatures, fat arrow syntax, return types, and overloads.
7.
Mapped Type
Mapped Type
11 Lessons
11 Lessons
Master the steps to using mapped types in TypeScript to enhance code efficiency.
8.
Objects
Objects
4 Lessons
4 Lessons
Step through TypeScript's object types, including curly braces, class instantiation, and case distinctions.
9.
Index Signature
Index Signature
4 Lessons
4 Lessons
Unpack the core of TypeScript index signatures, including dynamic access, type restrictions, and enhanced key definitions.
10.
Variables Advanced
Variables Advanced
12 Lessons
12 Lessons
Work your way through advanced TypeScript concepts like type intersections, unions, and conditional types.
11.
Exception
Exception
4 Lessons
4 Lessons
Break down complex ideas on managing synchronous and asynchronous exceptions and using assertion functions.
12.
Alias
Alias
5 Lessons
5 Lessons
Take a closer look at using aliases to simplify and enhance TypeScript's structural typing.
13.
Type Checking
Type Checking
9 Lessons
9 Lessons
Focus on TypeScript's type checking mechanisms, enhancing code reliability and type safety with various operators and strategies.
14.
Iterators
Iterators
3 Lessons
3 Lessons
Master the steps to iterate objects and arrays using loops, standard methods, and generators.
15.
Manipulating Objects and Array
Manipulating Objects and Array
7 Lessons
7 Lessons
Step through manipulating objects and arrays with TypeScript's typing, destructuring, and operators.
16.
Sharing Code
Sharing Code
7 Lessons
7 Lessons
Discover the logic behind sharing code using namespaces, modules, lazy loading, and definition files in TypeScript.
17.
Conclusion
Conclusion
2 Lessons
2 Lessons
Go hands-on with TypeScript basics, type safety, and advanced concepts for robust applications.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Complete more lessons to unlock your certificate
Developed by MAANG Engineers
ABOUT THIS COURSE
If you’re looking to move beyond vanilla JavaScript and take your skills to the next level, then you’ve come to the right place. TypeScript is an in-demand language that sits on top of JavaScript. This means you can do everything you can in JavaScript with TypeScript, but also enjoy countless other perks including support for JS libraries, NPM, static typing, and much more.
In this course, you’ll start from the beginning and work your way up to more advanced concepts like type checking, iterators, and manipulating objects and arrays. You'll get a chance to get your hands dirty with plenty of real practice along the way.
For JavaScript developers, TypeScript is a must-know language, not only for today but also for years to come. Don't miss out.
ABOUT THE AUTHOR
Patrick Desjardins
I am working at Netflix, ex-Microsoft. 20 years of experience in web development.
Trusted by 2.9 million developers working at companies
A
Anthony Walker
@_webarchitect_
E
Evan Dunbar
ML Engineer
S
Software Developer
Carlos Matias La Borde
S
Souvik Kundu
Front-end Developer
V
Vinay Krishnaiah
Software Developer
Built for 10x Developers
No Passive Learning
Learn by building with project-based lessons and in-browser code editor


Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go


Future-proof Your Career
Get hands-on with in-demand skills


AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"




MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies


Free Resources