TypeScript Tutorials – Learn TypeScript from Basics to Advanced
TypeScript adds a type system on top of JavaScript, catching errors before your code runs. These guides cover setup, the core type system, functions, and the more advanced features you'll reach for as your projects grow. Each article focuses on one concept and explains not just how to use it, but when.
Setup & Tooling
How to get TypeScript installed, running, and debuggable in your development environment.
Learn TypeScript on Mimo
- How to Install TypeScript
- How to Run TypeScript
- How to Check TypeScript Version
- How to Debug TypeScript
Types & Interfaces
The foundation of TypeScript. These guides cover how to define and structure types, the difference between types and interfaces, and how to work with arrays, enums, and variables.
- How to Define a Type in TypeScript
- How to Create an Interface in TypeScript
- When to Use Type vs Interface in TypeScript
- How to Type an Array in TypeScript
- How to Use Enums in TypeScript
- How to Declare Variables in TypeScript
- How to Use Optional Properties in TypeScript
- How to Use Readonly in TypeScript
Functions
TypeScript gives you fine-grained control over how functions accept and return data. These guides cover typing parameters, return values, and the function signature itself.
- How to Type a Function in TypeScript
- How to Type Function Parameters in TypeScript
- How to Type Function Return Values in TypeScript
- How to Use Arrow Functions in TypeScript
- How to Use Rest Parameters in TypeScript
Advanced Types
Once you know the basics, these features give you more precise control over how TypeScript understands and narrows your data at runtime.
- How to Use Type Assertions in TypeScript
- How to Use Type Guards in TypeScript
- How to Use Any Type in TypeScript
- How to Use Unknown Type in TypeScript
- How to Use Utility Types in TypeScript
- How to Use Mapped Types in TypeScript
- How to Use Conditional Types in TypeScript
- How to Use Type Inference in TypeScript
Arrays, Objects & Strings
How TypeScript handles the data structures and string operations you use in everyday code.
- How to Create an Array in TypeScript
- How to Remove Element from Array in TypeScript
- How to Use Map in TypeScript
- How to Create an Object in TypeScript
- How to Reverse a String in TypeScript
- How to Use toString() in TypeScript
Classes
TypeScript extends JavaScript classes with access control, inheritance, and abstract definitions. These guides cover everything from the constructor to more advanced OOP patterns.
- How to Create a Class in TypeScript
- How to Use Constructors in TypeScript
- How to Use Access Modifiers in TypeScript
- How to Use Class Inheritance in TypeScript
- How to Use Abstract Classes in TypeScript
- How to Use Static Members in TypeScript
Async, Modules & Decorators
Working with asynchronous code, organizing TypeScript across files, and using decorators for metadata-driven patterns.
Join 35M+ people learning for free on Mimo
4.8 out of 5 across 1M+ reviews
Check us out on Apple AppStore, Google Play Store, and Trustpilot