TypeScript Deep Dive for Large-Scale Applications
Jason Nguyen
Instructor
Course preview
Khóa học chuyên sâu về TypeScript trong các ứng dụng quy mô lớn. Bạn sẽ nắm được hệ thống kiểu nâng cao, generics, utility types, declaration merging và kỹ thuật refactor an toàn.
Course description
Khóa học chuyên sâu về TypeScript trong các ứng dụng quy mô lớn. Bạn sẽ nắm được hệ thống kiểu nâng cao, generics, utility types, declaration merging và kỹ thuật refactor an toàn.
What you will learn
- Advanced types and generics.
- Type inference and narrowing.
- Utility types and mapped types.
- Module augmentation & declaration merging.
- Strategies for typing third‑party libs.
Course content
6 chapter • 42 lesson • 0 minutes
Intersection, union, literal types.
Primitive & object types
Học về primitive & object types
Union & intersection types
Học về union & intersection types
Type guards & narrowing
Học về type guards & narrowing
Type aliases vs interfaces
Học về type aliases vs interfaces
Literal types and enums
Học về literal types and enums
Structural typing
Học về structural typing
Bài tập: utility types review
Học về bài tập: utility types review
Reusable components & functions.
Generic functions
Học về generic functions
Generic interfaces & classes
Học về generic interfaces & classes
Default & constrained generics
Học về default & constrained generics
Higher-order types
Học về higher-order types
Conditional types
Học về conditional types
Infer keyword
Học về infer keyword
Bài tập: build generic utils
Học về bài tập: build generic utils
Predefined & custom utilities.
Built-in utility types
Học về built-in utility types
Mapped types creation
Học về mapped types creation
Readonly/Partial/Required
Học về readonly/partial/required
Record & Pick/Omit
Học về record & pick/omit
Template literal types
Học về template literal types
Creating custom utilities
Học về creating custom utilities
Bài tập: type transformations
Học về bài tập: type transformations
Extending types and interop.
Declaration merging
Học về declaration merging
Augmenting global scope
Học về augmenting global scope
Typing third-party libs
Học về typing third-party libs
Ambient declarations
Học về ambient declarations
Declaration files (.d.ts)
Học về declaration files (.d.ts)
JSX and TSX types
Học về jsx and tsx types
Bài tập: create declaration file
Học về bài tập: create declaration file
Safe migration strategies.
Incremental typing
Học về incremental typing
Strict mode benefits
Học về strict mode benefits
Handling any and unknown
Học về handling any and unknown
Refactor with types
Học về refactor with types
Automated type fixes
Học về automated type fixes
Using eslint-plugin-typescript
Học về using eslint-plugin-typescript
Bài tập: convert JS project to TS
Học về bài tập: convert js project to ts
Compile-time programming.
Decorators and metadata
Học về decorators and metadata
Type-level programming
Học về type-level programming
Performance of ts compile
Học về performance of ts compile
Interop with Babel and webpack
Học về interop with babel and webpack
Migrating large codebases
Học về migrating large codebases
Future of TypeScript
Học về future of typescript
Final project: build a typed library
Học về final project: build a typed library
Course preview
Khóa học chuyên sâu về TypeScript trong các ứng dụng quy mô lớn. Bạn sẽ nắm được hệ thống kiểu nâng cao, generics, utility types, declaration merging và kỹ thuật refactor an toàn.