AndyWang′s Blog
About Archive Category Tags
Home
About
Archive
Category
Tags
Blog banner image
head shot

Andy Wang

Web Developer

Taiwan, Hsinchu City

Articles

43

Tags

57

Categories

11

RECENT POSTS

  • 認識 Test-Driven Development (TDD)

    2025年10月4日
  • 關於 Domain-Driven Design (DDD)

    2025年9月20日
  • CA: Data Transfer Object (DTO)

    2025年9月11日
  • Astro 圖片優化策略

    2025年9月8日
  • Claude Code CLI:真正的 AI 開發代理人

    2025年8月7日

Categories

心得
7
Blog
4
Tools
3
SystemDesign
5
Performance
5
React
5
DevOps
3
TypeScript
4
JavaScript
5
LeetCode
1
Git
1

TAGS

AI Algorithm Astro Asynchronous Blog CSS Claude Clean Code Clean-Architecture Compatibility Complexity Cursor Cursor-Rules DDD DP DTO Data-Structure Deployment Docker ESLint Elevator-Pitch Enums ErrorBoundary Frontend Generics Git HTML Homebrew JavaScript Jekyll Junior Kubernetes Leetcode Life Linter MECE Notes OOP Package Performance React Recursion Redux Retro SOLID SWR TDD Test TypeScript Unit-Test Vitest X-Driven blog jQuery map performance 心得
Archive Tags Generics

Generics

1 posts with this tag

TypeScript 之 Generics 泛型
TypeScript 之 Generics 泛型
2024年9月20日
TypeScript
Notes
/
TypeScript +1
Notes
/
TypeScript
/
Generics
Generics 泛型是一種高靈活性定義行為或結構的一種方法,當你定義了不重複但有相似內容的結構時,泛型是個很好的選擇,而 JS 本身並不支援泛型,直到 TS 出現才引入泛型的特性。
5 mins read
|
1191 words
TypeScript 之 Generics 泛型

Copyright © 2021-2025 AndyWang.

Content licensed under CC BY-SA 4.0 unless otherwise noted.