程式語言
Python、C、C++、Java、JavaScript、TypeScript、Go、R 與 Haskell 教學,從入門語法到進階技巧。
Functions
Functions are fundamental in TypeScript. Learn how to type them properly.
閱讀文章 →Interfaces
Interfaces define the shape of objects and provide a way to enforce structure in your code.
閱讀文章 →Classes
TypeScript adds type annotations and access modifiers to JavaScript classes.
閱讀文章 →Arrays and Tuples
Working with arrays and tuples in TypeScript.
閱讀文章 →Enums
Enums allow you to define a set of named constants.
閱讀文章 →Type Assertions
Type assertions tell TypeScript to treat a value as a specific type. Use with caution
閱讀文章 →Union and Intersection Types
Combine types in powerful ways with union and intersection types.
閱讀文章 →Beginner Level: TypeScript Fundamentals
Welcome to TypeScript This section covers the fundamentals you need to get started.
閱讀文章 →Generics
Generics allow you to create reusable components that work with multiple types.
閱讀文章 →Utility Types
TypeScript provides builtin utility types that transform existing types.
閱讀文章 →Advanced Types
Explore more sophisticated type patterns and techniques.
閱讀文章 →Modules and Namespaces
Organize and structure your TypeScript code with modules and namespaces.
閱讀文章 →Decorators
Decorators provide a way to add annotations and metadata to classes, methods, and properties.
閱讀文章 →Type Guards
Type guards are expressions that perform runtime checks to narrow types.
閱讀文章 →Type Narrowing
TypeScript narrows types based on control flow analysis.
閱讀文章 →Mapped Types Basics
Mapped types create new types by transforming properties of existing types.
閱讀文章 →Conditional Types Basics
Conditional types select one of two types based on a condition.
閱讀文章 →Error Handling
Handle errors in a typesafe way with TypeScript.
閱讀文章 →Intermediate Level: Advanced TypeScript Features
Build on your foundation with more powerful TypeScript features.
閱讀文章 →Advanced Generics
Master complex generic patterns and techniques.
閱讀文章 →Conditional Types Deep Dive
Master conditional types for advanced type transformations.
閱讀文章 →Mapped Types Advanced
Advanced mapped type patterns and techniques.
閱讀文章 →Template Literal Types
Create types from string templates TypeScript 4.1+.
閱讀文章 →Recursive Types
Types that reference themselves for complex data structures.
閱讀文章 →