Skip to main content
WebsitebeginnerFree

The TypeScript Handbook

typescriptlang.org

The official documentation written by the language team: everyday types, narrowing, functions, objects, generics, conditional and mapped types, modules and project configuration. After reading it you can annotate code and read compiler errors without guessing.

Visit resource

More resources on TypeScript

CourseFree

Apprendre TypeScript

A 19-video French course (about 4.5 hours) covering syntax, narrowing, generics, type vs interface, declaration files, utility types and satisfies. Later chapters work through type-challenges exercises, conditional types, decorators, runtime validation, typing React and OpenAPI clients, and Zod.

WebsiteFree

サバイバルTypeScript

A free, open-source online book that teaches working TypeScript to programmers with prior experience. Hands-on chapters build real projects with React, Next.js, Vitest, ESLint and Prettier before a reference section on types, generics, modules and tsconfig. In Japanese.

BookPaid

プロを目指す人のためのTypeScript入門 安全なコードの書き方から高度な型の使い方まで

A 424-page systematic course in TypeScript, from basic syntax and object types through generics, narrowing, union and literal types, mapped and conditional types, modules, async code and tsconfig strict options. Each chapter ends with practice exercises. In Japanese.

WebsiteFree

TSConfig Reference

Option-by-option documentation of tsconfig.json from the TypeScript team: strictness flags, module resolution, emit, JSX, interop and project references, each with examples, defaults and the version that introduced it. Use it to configure a project deliberately rather than copying someone else's file.

WebsiteFree

Type Challenges

Around 190 puzzles solved purely in the type system, graded warm-up through extreme, each with an online judge and published community solutions. Working through them builds real fluency with conditional types, infer, recursion and template literal types.

BookPaid

Effective TypeScript: 83 Specific Ways to Improve Your TypeScript (2nd ed.)

The field's bible for the gap between 'my code compiles' and 'my types are good'. Eighty-three short items on TypeScript idioms and pitfalls, revised for TypeScript 5, covering structural typing, inference, type-level programming, declaration files and migrating JavaScript. Finish it and you can judge competing type designs and say why one is safer.

See all TypeScript resources →