推薦12個(gè)值得學(xué)習(xí)的TypeScript寶庫!

大家好,我是 CUGGZ。國慶節(jié)前最后一天,提前祝大家假期愉快呀~
TypeScript 是微軟開發(fā)的一個(gè)開源的編程語言,通過在 JavaScript 的基礎(chǔ)上添加靜態(tài)類型定義構(gòu)建而成。TypeScript 通過 TypeScript 編譯器或 Babel 轉(zhuǎn)譯為 JavaScript 代碼,可運(yùn)行在任何瀏覽器和操作系統(tǒng)。下面來分享 12 個(gè)值得學(xué)習(xí)的 TypeScript 寶庫!
1、TypeScript 官方文檔
TypeScript 官方文檔,提供了中文版本。

Github:https://github.com/microsoft/TypeScript。
2、學(xué)習(xí) TypeScript
可能是中國最好的 TypeScript 入門到進(jìn)階系統(tǒng)教程。

Github:https://github.com/mqyqingfeng/learn-typescript。
3、TypeScript 使用指南手冊
TypeScript 使用手冊(中文版)翻譯。

Github:https://github.com/zhongsp/TypeScript。
4、深入理解 TypeScript
TypeScript Deep Dive 中文版。

Github:https://github.com/jkchao/typescript-book-chinese。
5、TypeScript 入門教程
從 JavaScript 程序員的角度總結(jié)思考,循序漸進(jìn)地理解 TypeScript。

Github:https://github.com/xcatliu/typescript-tutorial。
6、TypeScript 類型挑戰(zhàn)
高質(zhì)量的類型可以提高項(xiàng)目的可維護(hù)性并避免一些潛在的漏洞。本項(xiàng)目意在于讓你更好地了解 TS 的類型系統(tǒng),編寫你自己的類型工具,或者只是單純的享受挑戰(zhàn)的樂趣!

Github:https://github.com/type-challenges/type-challenges。
7、DefinitelyTyped
DefinitelyTyped 包含大量的高質(zhì)量的 TypeScript 類型定義。通過使用 DefinitelyTyped 及其包含的聲明文件,我們可以使用大多數(shù)流行的JavaScript庫,就像它們是 TypeScript 庫一樣,將通過編譯器進(jìn)行類型驗(yàn)證。

Github:https://github.com/DefinitelyTyped/DefinitelyTyped。
8、react-redux-typescript-guide
本指南記錄了有關(guān)在 React(及其生態(tài)系統(tǒng))中以函數(shù)式風(fēng)格使用 TypeScript 的模式和秘訣。它將使代碼類型安全,同時(shí)專注于從實(shí)現(xiàn)中推斷類型,從長遠(yuǎn)來看更容易編寫和維護(hù)正確的類型。

Github:https://github.com/piotrwitek/react-redux-typescript-guide。
9、React+TypeScript 備忘錄
專注于幫助 React 開發(fā)人員在 React 應(yīng)用中使用 TypeScript。

Github:https://github.com/typescript-cheatsheets/react。
?10、clean-code-typescript
將 Clean Code 的概念適用到 TypeScript,引導(dǎo)讀者使用 TypeScript 編寫易讀、可擴(kuò)展的應(yīng)用。

Github:https://github.com/labs42io/clean-code-typescript。
11、谷歌TypeScript風(fēng)格指南
Google TypeScript 風(fēng)格指南。

Github:https://google.github.io/styleguide/tsguide.html。
12、Awesome TypeScript
很棒的 TypeScript 資源。

Github:https://github.com/semlinker/awesome-typescript。






























