bugl
bugl
HomeLearnPatternsPathsSearch
HomeLearnPatternsPathsSearch

Loading lesson path

Learn/TypeScript

TypeScript

TypeScript Core

Understand TypeScript syntax, types, narrowing, interfaces, generics, and practical usage patterns.

Lesson 1

TypeScript Tutorial

TypeScript is JavaScript with added syntax for types.

Read lesson →Loading…
Lesson 2

TypeScript Introduction

TypeScript is JavaScript with added syntax for types.

Read lesson →Loading…
Lesson 3

TypeScript Getting Started

TypeScript is transpiled into JavaScript using a compiler.

Read lesson →Loading…
Lesson 4

TypeScript Simple Types

TypeScript enhances JavaScript by adding static types.

Read lesson →Loading…
Lesson 5

TypeScript Explicit Types and Inference

TypeScript offers two ways to work with types:

Read lesson →Loading…
Lesson 6

TypeScript Special Types

TypeScript includes several special types that have specific behaviors in the type system.

Read lesson →Loading…
Lesson 7

TypeScript Arrays

TypeScript has a specific syntax for typing arrays.

Read lesson →Loading…
Lesson 8

TypeScript Tuples

A tuple is a typed array with a pre-defined length and types for each index.

Read lesson →Loading…
Lesson 9

TypeScript Object Types

TypeScript has a specific syntax for typing objects.

Read lesson →Loading…
Lesson 10

TypeScript Enums

An enum is a special "class" that represents a group of constants (unchangeable variables).

Read lesson →Loading…
Lesson 11

TypeScript Type Aliases and Interfaces

TypeScript allows types to be defined separately from the variables that use them.

Read lesson →Loading…
Lesson 12

TypeScript Union Types

Union types are used when a value can be more than a single type.

Read lesson →Loading…
Lesson 13

TypeScript Functions

TypeScript has a specific syntax for typing function parameters and return values.

Read lesson →Loading…
Lesson 14

TypeScript Casting

There are times when working with types where it's necessary to override the type of a variable, such as when incorrect types are provided by a library.

Read lesson →Loading…
Lesson 15

TypeScript Classes

TypeScript adds types and visibility modifiers to JavaScript classes.

Read lesson →Loading…
Lesson 16

TypeScript Basic Generics

Generics allow creating 'type variables' which can be used to create classes, functions & type aliases that don't need to explicitly define the types that they use.

Read lesson →Loading…
Lesson 17

TypeScript Utility Types

TypeScript comes with a large number of types that can help with some common type manipulation, usually referred to as utility types.

Read lesson →Loading…
Lesson 18

TypeScript Keyof

keyof is a keyword in TypeScript which is used to extract the key type from an object type.

Read lesson →Loading…
Lesson 19

TypeScript Null & Undefined

TypeScript has a powerful system to deal with null or undefined values.

Read lesson →Loading…
Lesson 20

TypeScript Definitely Typed

NPM packages in the broad JavaScript ecosystem don't always have types available.

Read lesson →Loading…
Lesson 21

TypeScript 5.x Updates

TypeScript is actively maintained and updated by Microsoft.

Read lesson →Loading…
Lesson 22

TypeScript Configuration

The tsconfig.json file is the heart of every TypeScript project.

Read lesson →Loading…
Lesson 23

TypeScript with Node.js

TypeScript brings static typing to Node.js development, providing better tooling, improved code quality, and enhanced developer experience.

Read lesson →Loading…
Lesson 24

TypeScript with React

TypeScript enhances React with:

Read lesson →Loading…
Lesson 25

TypeScript Tooling

TypeScript's tooling ecosystem is one of its greatest strengths, providing developers with powerful tools for every stage of development:

Read lesson →Loading…
Lesson 26

TypeScript Advanced Types

TypeScript's advanced type system allows you to model complex type relationships with precision.

Read lesson →Loading…
Lesson 27

TypeScript Type Guards

TypeScript Type Guards are powerful constructs that allow you to narrow down the type of a variable within a specific scope.

Read lesson →Loading…
Lesson 28

TypeScript Conditional Types

Conditional types in TypeScript enable you to create types that depend on other types, similar to how if-else statements work in JavaScript.

Read lesson →Loading…
Lesson 29

TypeScript Mapped Types

Mapped types in TypeScript allow you to create new types by transforming properties of existing types.

Read lesson →Loading…
Lesson 30

TypeScript Type Inference

Type inference is TypeScript's ability to automatically determine and assign types to variables, function returns, and expressions based on their usage and context, without requiring explicit type an…

Read lesson →Loading…
Lesson 31

TypeScript Literal Types

Literal types in TypeScript allow you to specify exact values that variables can hold, providing more precision than broader types like string or number .

Read lesson →Loading…
Lesson 32

TypeScript Namespaces

TypeScript namespaces (previously known as "internal modules") provide a powerful way to organize code and prevent naming conflicts by creating a container for related functionality.

Read lesson →Loading…
Lesson 33

TypeScript Index Signatures

Index signatures in TypeScript provide a powerful way to define types for objects with dynamic property names while maintaining type safety.

Read lesson →Loading…
Lesson 34

TypeScript Declaration Merging

Declaration merging is a powerful TypeScript feature that allows you to combine multiple declarations with the same name into a single definition.

Read lesson →Loading…
Lesson 35

TypeScript Async Programming

TypeScript enhances JavaScript's asynchronous capabilities with static typing, making your async code more predictable and maintainable.

Read lesson →Loading…
Lesson 36

TypeScript Decorators

Decorators are a powerful TypeScript feature that allow you to add metadata and modify classes and their members at design time.

Read lesson →Loading…
Lesson 37

TypeScript in JavaScript Projects (JSDoc)

JSDoc with TypeScript allows you to add type checking to JavaScript files without converting them to .ts .

Read lesson →Loading…
Lesson 38

TypeScript Migration Guide

Migrating from JavaScript to TypeScript can significantly improve your codebase's maintainability and developer experience.

Read lesson →Loading…
Lesson 39

TypeScript Error Handling

Robust error handling is crucial for building reliable TypeScript applications.

Read lesson →Loading…
Lesson 40

TypeScript Best Practices

This guide covers essential TypeScript best practices to help you write clean, maintainable, and type-safe code. Following these practices will improve code quality and developer experience.

Read lesson →Loading…