TypeScript Reference

Type-safe JavaScript with types, interfaces, generics, and type guards

Advanced

Generics

Create reusable components with generics

Type Guards

Narrow types with type guards

Basics

Primitive Types

Basic TypeScript type annotations

Types

Arrays & Tuples

Type arrays and fixed-length tuples

Interfaces

Define object shapes with interfaces

Union Types

Combine multiple types with union

Utility Types

Use built-in utility types like Partial, Required, Pick

Discover another handy tool from EditPDF.pro