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