Skip to content
10 chapters · Expert level

TypeScript Expert

Go beyond the basics. Learn advanced TypeScript patterns that separate good engineers from great ones. Bilingual — hover or tap any paragraph to reveal Vietnamese translation.

Start LearningExpert track

What you'll learn

Mixins

Compose behaviour from multiple sources without multiple inheritance

Conditional Types

Type-level if/else to transform and extract types at compile time

Template Literals

Build string union types dynamically with template literal syntax

Decorators

Meta-programming with class, method, and property decorators

Expert10 chapters · 10 min per chapter

Mixins

Compose reusable behaviours across class hierarchies without multiple inheritance

Kết hợp các hành vi tái sử dụng qua các class mà không cần đa kế thừa

10 min readNew

Conditional Types

Type-level if/else expressions that unlock advanced type transformations

Biểu thức if/else ở cấp độ kiểu để mở khoá các phép biến đổi kiểu nâng cao

10 min read

Template Literal Types

Build string types dynamically with template literal syntax

Xây dựng kiểu chuỗi động với cú pháp template literal

9 min read

Mapped Types

Transform existing types by iterating over their keys

Biến đổi kiểu hiện có bằng cách lặp qua các key của chúng

9 min read

The infer Keyword

Extract and name types from within conditional type branches

Trích xuất và đặt tên kiểu trong các nhánh kiểu điều kiện

8 min read

Declaration Merging

Extend interfaces, namespaces, and modules with declaration merging

Mở rộng interface, namespace và module với hợp nhất khai báo

8 min read

Advanced Type Guards

Narrow union types precisely with user-defined type predicates

Thu hẹp union type chính xác với type predicate do người dùng định nghĩa

9 min read

Decorators

Class, method, and property decorators for meta-programming

Decorator cho class, method và property để lập trình meta

11 min read

Utility Types In Depth

Master built-in utility types and build your own type library

Thành thạo utility type tích hợp và xây dựng thư viện kiểu của riêng bạn

10 min read

Module Augmentation

Extend third-party library types without forking the source

Mở rộng kiểu thư viện bên thứ ba mà không cần fork source

8 min read
Built: 4/8/2026, 12:01:11 PM