Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jkchao/typescript-book-chinese

TypeScript Deep Dive 中文版
https://github.com/jkchao/typescript-book-chinese

book react redux typescript typescript-javascript vue vuepress

Last synced: about 2 months ago
JSON representation

TypeScript Deep Dive 中文版

Awesome Lists containing this project

README

        

# 深入理解 TypeScript

[![All Contributors](https://img.shields.io/badge/all_contributors-88-orange.svg?style=flat-square)](#contributors)
[![GitHub forks](https://img.shields.io/github/forks/jkchao/typescript-book-chinese.svg?style=flat-square)](https://github.com/jkchao/typescript-book-chinese/network) [![GitHub stars](https://img.shields.io/github/stars/jkchao/typescript-book-chinese.svg?style=flat-square)](https://github.com/jkchao/typescript-book-chinese/stargazers) [![GitHub issues](https://img.shields.io/github/issues/jkchao/typescript-book-chinese.svg?style=flat-square)](https://github.com/jkchao/typescript-book-chinese/issues)
[![GitHub last commit](https://img.shields.io/github/last-commit/jkchao/typescript-book-chinese.svg?style=flat-square)](https://github.com/jkchao/typescript-book-chinese/commits/master)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

此书是 [《TypeScript Deep Dive》](https://github.com/basarat/typescript-book/) 的中文翻译版,感谢作者 [Basarat](https://github.com/basarat) 的付出。

如果你喜欢纸质书籍,可以通过[京东](https://item.jd.com/12755624.html)或者[当当](http://product.m.dangdang.com/28487648.html?t=1574581821),来购买此书。

你可以通过订阅该[公众号](https://cdn.jkchao.cn/nuxt/img/14958af.jpg),来获取更多有趣的内容。

## Why

![downloads](https://github.com/jkchao/typescript-book-chinese/raw/master/docs/.vuepress/public/typescript-downloads.jpg)

> 数据来源:[npm 包下载量](https://npm-stat.com/charts.html?package=typescript&from=2016-01-01&to=2018-07-31)

如你所见,TypeScript 发展至今,已经成为大型项目的标配,其提供的静态类型系统,大大增强了代码的可读性以及可维护性;同时,它提供最新和不断发展的 JavaScript 特性,能让我们建立更健壮的组件。

[《TypeScript Deep Dive》](https://github.com/basarat/typescript-book/) 是一本很好的开源书,从基础到深入,很全面的阐述了 TypeScript 的各种魔法,不管你是新手,还是老鸟,它都将适应你。此外,它不同于 TypeScript 官方给出的文档(当然 TypeScript 给出的文档是很好的),在此书中,结合实际应用下的场景用例,你将能更深入的理解 TypeScript。

如今社区已经存在部分翻译,但都似乎已经停止更新。

于是在某天的某个冲动之下,这个 RP 就诞生了。

## 翻译内容

《TypeScript Deep Dive》 书中包含一部分 JavaScript Future 和一些其他的内容,在这里,我们并不打算翻译它,如果你有兴趣,可以查看原书中 [JavaScript Future](https://basarat.gitbooks.io/typescript/content/docs/future-javascript.html) 的有关章节。

由于 TypeScript 更新频繁,除了上文中提到翻译部分,将会加入 TypeScript 的 Release,同时我也将总结出工作中一些有意思的点,希望和大家相互学习,一起进步。

此外,在不违背原作者本意前提下,为了更直观的表达,部分内容将采用意译,而非直译。

## Contributors

Thanks goes to these wonderful people
([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):

| [三毛
三毛](https://jkchao.cn)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=jkchao "Documentation") | [KnorienChang
KnorienChang](https://github.com/KnorienChang)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=KnorienChang "Documentation") | [阿卡琳
阿卡琳](https://github.com/magic-akari)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=magic-akari "Documentation") | [hopalay
hopalay](https://github.com/hopalay)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=hopalay "Documentation") | [Xing Liu
Xing Liu](http://singsing.io/blog)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=S1ngS1ng "Documentation") | [chenwangji
chenwangji](https://github.com/chenwangji)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=chenwangji "Documentation") | [老农爱盐碱地
老农爱盐碱地](https://github.com/helloforrestworld)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=helloforrestworld "Documentation") |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| [Necros
Necros](http://www.itxuye.com)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=itxuye "Documentation") | [Xu Jihan
Xu Jihan](https://xutoto.im)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=XuToTo "Documentation") | [Yu
Yu](https://wanan.me/)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=Yiiu "Documentation") | [Yoga Lin
Yoga Lin](https://github.com/YogaLin)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=YogaLin "Documentation") | [G
G](http://galenjiang.github.io)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=galenjiang "Documentation") | [Undrum
Undrum](https://github.com/Undrum)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=Undrum "Documentation") | [Zong
Zong](https://zongzi531.com)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=zongzi531 "Documentation") |
| [LXVC
LXVC](http://lxvc.github.io)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=LXVC "Documentation") | [Whale
Whale](https://github.com/jinrichardJIN)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=jinrichardJIN "Documentation") | [getdaydream
getdaydream](https://github.com/getdaydream)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=getdaydream "Documentation") | [Ling ZiQing
Ling ZiQing](https://www.onlyling.com)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=onlyling "Documentation") | [izayl
izayl](https://github.com/izayl)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=izayl "Documentation") | [Moorez
Moorez](http://shenzekun.cn/)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=shenzekun "Documentation") | [萤火之未
萤火之未](https://github.com/yepbug)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=yepbug "Documentation") |
| [xfields
xfields](https://github.com/xfields)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=xfields "Documentation") | [ZhaZheng
ZhaZheng](https://segmentfault.com/u/zhazhengrefn)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=ZhaZhengRefn "Documentation") | [弘树@阿里
弘树@阿里](http://webminer.js.org)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=dickeylth "Documentation") | [wangjingchao
wangjingchao](https://github.com/dalphyx)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=dalphyx "Documentation") | [IWANABETHATGUY
IWANABETHATGUY](https://github.com/IWANABETHATGUY)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=IWANABETHATGUY "Documentation") | [Payton Tang
Payton Tang](http://www.pcdeng.com)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=PaytonTang "Documentation") | [Rem486
Rem486](https://github.com/Rem486)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=Rem486 "Documentation") |
| [Steve Young
Steve Young](https://buptsteve.github.io)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=BuptStEve "Documentation") | [olive.wang
olive.wang](http://olivewind.com)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=olivewind "Documentation") | [Rainy
Rainy](https://rainylog.com)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=geekrainy "Documentation") | [随风
随风](https://github.com/daskyrk)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=daskyrk "Documentation") | [大板栗
大板栗](https://justclear.github.io/)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=JustClear "Documentation") | [Superman
Superman](https://github.com/superman66)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=superman66 "Documentation") | [Payton Deng
Payton Deng](https://github.com/PaytonDeng)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=PaytonDeng "Documentation") |
| [Wang Kang
Wang Kang](https://github.com/hgrourou)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=hgrourou "Documentation") | [wuchouchou
wuchouchou](https://github.com/w1301625107)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=w1301625107 "Documentation") | [EastblueOkay
EastblueOkay](https://github.com/EastblueOkay)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=EastblueOkay "Documentation") | [Nic
Nic](https://github.com/xybin1990)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=xybin1990 "Documentation") | [重庆崽儿Brand
重庆崽儿Brand](http://www.brandhuang.com)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=CQBoyBrand "Documentation") | [YanYuan
YanYuan](http://yanyuanfe.cn)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=YanYuanFE "Documentation") | [JunaYa
JunaYa](http://junaya.github.io/)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=JunaYa "Documentation") |
| [黎聪
黎聪](https://github.com/licong96)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=licong96 "Documentation") | [WANGXUEFENG
WANGXUEFENG](https://github.com/a1055794033)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=a1055794033 "Documentation") | [Xiaohan Li
Xiaohan Li](https://hansnow.me)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=hansnow "Documentation") | [dingkang
dingkang](https://yuque.com/zhifei)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=poyiding "Documentation") | [zhangciwu
zhangciwu](http://zcw.me)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=zhangciwu "Documentation") | [Jack
Jack](http://www.seaiceblog.com)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=sea-ice "Documentation") | [masterZSH
masterZSH](https://github.com/masterZSH)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=masterZSH "Documentation") |
| [Eve
Eve](http://angular.ink)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=Eve-1995 "Documentation") | [Xuemuyang
Xuemuyang](http://myoungxue.top)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=Xuemuyang "Documentation") | [Jasery
Jasery](https://github.com/Jasery)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=Jasery "Documentation") | [Baskerville*
Baskerville*](https://lmislm.com)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=lmislm "Documentation") | [FishPlusOrange
FishPlusOrange](https://github.com/FishPlusOrange)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=FishPlusOrange "Documentation") | [月迷津渡
月迷津渡](https://blog.daraw.cn/)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=CodeDaraW "Documentation") | [evinma
evinma](https://github.com/evinma)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=evinma "Documentation") |
| [Suyan
Suyan](http://suyan.moe)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=suyanhanx "Documentation") | [cherry-man
cherry-man](https://github.com/luckymore)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=luckymore "Documentation") | [蔡南坤
蔡南坤](https://github.com/Cainankun)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=Cainankun "Documentation") | [chenc
chenc](https://github.com/cWatermelon)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=cWatermelon "Documentation") | [Xinxing Li
Xinxing Li](https://setsuna.wang)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=lxx2013 "Documentation") | [GuangHui
GuangHui](https://bryanadamss.github.io/)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=BryanAdamss "Documentation") | [odzcdut
odzcdut](https://www.hosalt.cn/)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=CosSalt "Documentation") |
| [项鸿伟
项鸿伟](https://github.com/xhwgood)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=xhwgood "Documentation") | [xiezhichao
xiezhichao](https://github.com/xie-zhichao)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=xie-zhichao "Documentation") | [Charles
Charles](http://www.geeecko.com)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=wqcstrong "Documentation") | [Jexxie
Jexxie](https://twitter.com/Jexxie_woo)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=Jexxie "Documentation") | [Sean Wong
Sean Wong](https://github.com/SeanWangx)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=SeanWangx "Documentation") | [bluelovers
bluelovers](http://bluelovers.net)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=bluelovers "Documentation") | [Celery
Celery](https://github.com/celery8911)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=celery8911 "Documentation") |
| [chenxiaochun
chenxiaochun](https://github.com/chenxiaochun)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=chenxiaochun "Documentation") | [Yates
Yates](https://github.com/DuYueYu)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=DuYueYu "Documentation") | [IGoR
IGoR](https://github.com/IGoRFonin)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=IGoRFonin "Documentation") | [byog
byog](https://github.com/byog)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=byog "Documentation") | [whincwu
whincwu](https://github.com/whinc/blog)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=whinc "Documentation") | [康东扬
康东扬](https://github.com/frontdog)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=frontdog "Documentation") | [Kenny
Kenny](https://www.jianshu.com/u/f4907e8670cb)
[🚇](#infra-Kennytian "Infrastructure (Hosting, Build-Tools, etc)") |
| [AllenLee
AllenLee](https://www.douban.com/people/driving555/)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=cangSDARM "Documentation") | [xiangming25
xiangming25](https://github.com/xiangming25)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=xiangming25 "Documentation") | [Chanvin Xiao
Chanvin Xiao](https://chanvinxiao.com)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=vinzid "Documentation") | [Aaron Xie
Aaron Xie](http://www.noobcoder.club)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=Aaron00101010 "Documentation") | [nulIptr
nulIptr](https://github.com/nulIptr)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=nulIptr "Documentation") | [Tao Huang
Tao Huang](http://www.cnblogs.com/htoooth/)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=htoooth "Documentation") | [Yunfly
Yunfly](https://github.com/Yunfly)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=Yunfly "Documentation") |
| [Will Wang
Will Wang](https://github.com/willww64)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=willww64 "Documentation") | [SyMind
SyMind](https://github.com/SyMind)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=SyMind "Documentation") | [yuhengshen
yuhengshen](https://github.com/yuhengshen)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=yuhengshen "Documentation") | [chenfeng
chenfeng](https://github.com/ProfBramble)
[📖](https://github.com/jkchao/typescript-book-chinese/commits?author=ProfBramble "Documentation") |

## How to contribute

你可以:

- 通过 PR 修改错别字,或者错误的格式;
- 发 issue 讨论文章中出现的一些不合理地方;
- 翻译 TODO 文件夹下的文章,并顺手 Email 我。

希望你在翻译或者 PR 之前,阅读[中文文章排版指北](https://github.com/mzlogin/chinese-copywriting-guidelines)。

### 公众号

## 最后

如果你和我一样对 TypeScript 充满兴趣,可以订阅(star)本项目,及时收到有关于此项目的更新。

如果你对文章有任何疑问,欢迎提交 [issues](https://github.com/jkchao/typescript-book-chinese/issues) 和我交流。

如果你认为有些地方翻译不够准确,或者你想补充一些文中没提到但是非常有意思的知识点,欢迎 [PR](https://github.com/jkchao/typescript-book-chinese/pulls)。