Ngôn ngữ lập trình
Hướng dẫn Python, C, C++, Java, JavaScript, TypeScript, Go, R và Haskell — từ cú pháp cơ bản đến kỹ thuật nâng cao.
Functions
Functions are fundamental in TypeScript. Learn how to type them properly.
Đọc bài viết →Interfaces
Interfaces define the shape of objects and provide a way to enforce structure in your code.
Đọc bài viết →Classes
TypeScript adds type annotations and access modifiers to JavaScript classes.
Đọc bài viết →Arrays and Tuples
Working with arrays and tuples in TypeScript.
Đọc bài viết →Enums
Enums allow you to define a set of named constants.
Đọc bài viết →Type Assertions
Type assertions tell TypeScript to treat a value as a specific type. Use with caution
Đọc bài viết →Union and Intersection Types
Combine types in powerful ways with union and intersection types.
Đọc bài viết →Beginner Level: TypeScript Fundamentals
Welcome to TypeScript This section covers the fundamentals you need to get started.
Đọc bài viết →Generics
Generics allow you to create reusable components that work with multiple types.
Đọc bài viết →Utility Types
TypeScript provides builtin utility types that transform existing types.
Đọc bài viết →Advanced Types
Explore more sophisticated type patterns and techniques.
Đọc bài viết →Modules and Namespaces
Organize and structure your TypeScript code with modules and namespaces.
Đọc bài viết →Decorators
Decorators provide a way to add annotations and metadata to classes, methods, and properties.
Đọc bài viết →Type Guards
Type guards are expressions that perform runtime checks to narrow types.
Đọc bài viết →Type Narrowing
TypeScript narrows types based on control flow analysis.
Đọc bài viết →Mapped Types Basics
Mapped types create new types by transforming properties of existing types.
Đọc bài viết →Conditional Types Basics
Conditional types select one of two types based on a condition.
Đọc bài viết →Error Handling
Handle errors in a typesafe way with TypeScript.
Đọc bài viết →Intermediate Level: Advanced TypeScript Features
Build on your foundation with more powerful TypeScript features.
Đọc bài viết →Advanced Generics
Master complex generic patterns and techniques.
Đọc bài viết →Conditional Types Deep Dive
Master conditional types for advanced type transformations.
Đọc bài viết →Mapped Types Advanced
Advanced mapped type patterns and techniques.
Đọc bài viết →Template Literal Types
Create types from string templates TypeScript 4.1+.
Đọc bài viết →Recursive Types
Types that reference themselves for complex data structures.
Đọc bài viết →