Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

typescript-book

> 开发工具
Open source

The Concise TypeScript Book: A Concise Guide to Effective Development in TypeScript. Free and Open Source.

10.3K stars0 likes5 views
WebsiteGitHub

About

The Concise TypeScript Book: A Concise Guide to Effective Development in TypeScript. Free and Open Source.

The Concise TypeScript Book

The Concise TypeScript Book provides a comprehensive and succinct overview of TypeScript's capabilities. It offers clear explanations covering all aspects of the latest version of the language, from its powerful type system to advanced features.

Whether you're a beginner or an experienced developer, this book is an invaluable resource to enhance your understanding and proficiency in TypeScript.

This book is completely free and open source.

I believe that high-quality technical education should be accessible to everyone. For this reason, I keep the book freely available and regularly update it with improvements, and new examples.

Discover The Concise TypeScript Book Plus Edition.

For readers who want to go beyond the open-source edition, The Concise TypeScript Book Plus Edition: React and Real-World Patterns for TypeScript 7 includes additional and exclusive content focused on practical application.

The Plus Edition includes:

  • Updated for TypeScript 7 — coverage of the latest TypeScript 7 features and language improvements.
  • TypeScript with React — practical guidance for typing components, props, hooks, events, children, refs, and common React patterns.
  • TypeScript Recipes for Real-World Projects — focused examples that address practical problems developers encounter when building and maintaining TypeScript applications.

By purchasing the Plus Edition, you also directly support the continued development and maintenance of the free and open-source book.

The Plus Edition is available in English and Italian on Amazon worldwide. Explore the Plus Edition and buy on Amazon.

Support the Project

If the free book helped you fix a bug, understand a difficult concept, or advance in your career, please consider supporting my work by paying what you want, with a suggested contribution of $5, or by sponsoring a coffee.

Your support helps me keep the content up to date and expand it with new examples, clearer explanations, and additional practical guidance.

Translations

This book has been translated into several languages, including:

English

Bulgarian

German

French

Indonesian

Italian

Japanese

Korean

Polish

Portuguese (Brazil)

Swedish

Turkish

Vietnamese

Chinese

Spanish

Thai

Russian

Arabic Czech

Downloads and website

You can also download the EPUB version:

https://github.com/gibbok/typescript-book/tree/main/downloads

An online version is available at:

https://gibbok.github.io/typescript-book

Table of Contents

  • The Concise TypeScript Book
    • Support the Project
    • Translations
    • Downloads and website
    • Table of Contents
    • Introduction
    • About the Author
    • TypeScript Introduction
      • What is TypeScript?
      • Why TypeScript?
      • TypeScript and JavaScript
      • TypeScript Code Generation
      • Modern JavaScript Now (Downleveling)
    • Getting Started With TypeScript
      • Installation
      • Configuration
      • TypeScript Configuration File
        • target
        • lib
        • strict
        • module
        • moduleResolution
        • esModuleInterop
        • jsx
        • skipLibCheck
        • files
        • include
        • exclude
      • importHelpers
      • Migration to TypeScript Advice
    • Exploring the Type System
      • The TypeScript Language Service
      • Structural Typing
      • TypeScript Fundamental Comparison Rules
      • Types as Sets
      • Assign a type: Type Declarations and Type Assertions
        • Type Declaration
        • Type Assertion
        • Ambient Declarations
      • Property Checking and Excess Property Checking
      • Weak Types
      • Strict Object Literal Checking (Freshness)
      • Type Inference
      • More Advanced Inferences
      • Type Widening
      • Const
        • Const Modifier on Type Parameters
        • Const assertion
      • Explicit Type Annotation
      • Type Narrowing
        • Conditions
        • Throwing or returning
        • Discriminated Union
        • User-Defined Type Guards
        • Switch-true narrowing
    • Primitive Types
      • string
      • boolean
      • number
      • bigint
      • Symbol
      • null and undefined
      • Array
      • any
    • Type Annotations
    • Optional Properties
    • Readonly Properties
    • Index Signatures
    • Extending Types
    • Literal Types
    • Literal Inference
    • strictNullChecks
    • Enums
      • Numeric enums
      • String enums
      • Constant enums
      • Reverse mapping
      • Ambient enums
      • Computed and constant members
    • Narrowing
      • typeof type guards
      • Truthiness narrowing
      • Equality narrowing
      • In Operator narrowing
      • instanceof narrowing
    • Assignments
    • Control Flow Analysis
    • Type Predicates
    • Discriminated Unions
    • The never Type
    • Exhaustiveness checking
    • Object Types
    • Tuple Type (Anonymous)
    • Named Tuple Type (Labeled)
    • Fixed Length Tuple
    • Union Type
    • Intersection Types
    • Type Indexing
    • Type from Value
    • Type from Func Return
    • Type from Module
    • Mapped Types
    • Mapped Type Modifiers
    • Conditional Types
    • Distributive Conditional Types
    • infer Type Inference in Conditional Types
    • Predefined Conditional Types
    • Template Union Types
    • Any type
    • Unknown type
    • Void type
    • Never type
    • Interface and Type
      • Common Syntax
      • Basic Types
      • Objects and Interfaces
      • Union and Intersection Types
    • Built-in Type Primitives
    • Common Built-in JS Objects
    • Overloads
    • Merging and Extension
    • Differences between Type and Interface
    • Class
      • Class Common Syntax
      • Constructor
      • Private and Protected Constructors
      • Access Modifiers
      • Get and Set
      • Auto-Accessors in Classes
      • this
      • Parameter Properties
      • Abstract Classes
      • With Generics
      • Decorators
        • Class Decorators
        • Property Decorator
        • Method Decorator
        • Getter and Setter Decorators
        • Decorator Metadata
      • Inheritance
      • Statics
      • Property initialization
      • Method overloading
    • Generics
      • Generic Type
      • Generic Classes
      • Generic Constraints
      • Generic contextual narrowing
    • Erased Structural Types
    • Namespacing
    • Symbols
    • Triple-Slash Directives
    • Type Manipulation
      • Creating Types from Types
      • Indexed Access Types
      • Utility Types
        • Awaited<T>
        • Partial<T>
        • Required<T>
        • Readonly<T>
        • Record<K, T>
        • Pick<T, K>
        • Omit<T, K>
        • Exclude<T, U>
        • Extract<T, U>
        • NonNullable<T>
        • Parameters<T>
        • ConstructorParameters<T>
        • ReturnType<T>
        • InstanceType<T>
        • [ThisParameterType<T>](#thisparamet

Issues· 1 open

View all issuesOpen on GitHub
  • #106

    Call for Contributions: Translations Needed for The Concise TypeScript Book

    Updated Mar 1, 2026

> Tags

TypeScriptbookfreejavascriptjavascript-book

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具