Typescript
Learn TypeScript, a typed superset of JavaScript, for scalable and maintainable web development.
Articles in this section
-
Hello, World! in TypeScript
-
Install Node.js/npm, TypeScript, and a code editor
-
Basic Types
-
Arrays
-
Tuples
-
Enums
-
Variables (let, const, var)
-
Operators
-
Control Flow
-
Type Aliases
-
Function Declarations
-
Function Expressions and Arrow Functions
-
Function Overloading
-
Object Literals
-
Object Types and Interfaces
-
Optional Properties and Methods in Object Types
-
Index Signatures
-
Intersection Types
-
Union Types
-
Type Assertions
-
Classes
-
Access Modifiers
-
Inheritance
-
Abstract Classes
-
Interfaces
-
Implementing Multiple Interfaces
-
Extending Interfaces
-
Interfaces vs. Type Aliases
-
Static and Readonly Properties
-
Generics: Introduction and Functions
-
Generic Classes
-
Generic Interfaces
-
Generic Constraints
-
Keyof with Generics
-
Default Type Parameters in Generics
-
Conditional Types with Generics
-
Mapped Types
-
Advanced Conditional and Mapped Types
-
Practice: Build a Generic Data Structure
-
Modules: Organizing Code with ES Modules
-
Import and Export Statements
-
Default and Named Exports
-
Module Resolution in TypeScript
-
Namespaces in TypeScript
-
Ambient Declarations and Declaration Files
-
Working with Third-Party Libraries and Type Definitions
-
Practice: Create a Small Library with Modules and Type Definitions
-
typeof and keyof Type Operators
-
Partial, Required, and Readonly Utility Types
-
Pick, Omit, and Record Utility Types
-
Exclude, Extract, and NonNullable Utility Types
-
Parameters, ReturnType, and InstanceType Utility Types
-
ThisType and Template Literal Types
-
Inferring Types within Conditional Types
-
Practice: Advanced Type Manipulation Utility Functions
-
Decorators: Metadata Annotations in TypeScript
-
Class Decorators
-
Method Decorators
-
Property Decorators
-
Parameter Decorators
-
Promises: Handling Asynchronous Operations
-
Async/Await: Simplifying Asynchronous Code
-
Error Handling with Try/Catch in Async Code
-
Working with Asynchronous APIs
-
Practice: Build a Simple App with Async Data Fetching
-
Project and Advanced Concepts Review
-
Tooling and Project Setup