Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ts_2_.pdf
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
YY EFox Team
December 26, 2018
82
1
Share
ts_2_.pdf
YY EFox Team
December 26, 2018
More Decks by YY EFox Team
See All by YY EFox Team
websdk_1_.pdf
efox
0
55
Featured
See All Featured
We Are The Robots
honzajavorek
0
230
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
230
Practical Orchestrator
shlominoach
191
11k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.4k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
Why Our Code Smells
bkeepers
PRO
340
58k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
170
Thoughts on Productivity
jonyablonski
76
5.1k
Git: the NoSQL Database
bkeepers
PRO
432
67k
New Earth Scene 8
popppiees
3
2.2k
Become a Pro
speakerdeck
PRO
31
5.9k
Transcript
基于Typescript的npm模块开发 分享人 林佳铭 日期 2018-11-29
提纲 1. 为什么选择TS 2. TS+JEST编写轻量级NPM模块的基础流程
为什么选择 TS • 类型系统 • 强大的IDE支持 • JavaScript的超集
静态类型带来哪些好处 类型拥有着提高代码质量和可读性的可靠能力: • 在重构时,类型增加了你的敏捷性。 让编译器捕获错误比在运行时崩溃更好。 • 类型是你能拥有的最好的文档形式之一。 函数签名是定理,而函数体则是证明过程。
IDE支持体现在什么地方 lib.es5.d.ts
JavaScript的超集
使用TS+JEST编写npm模块 文档地址:https://efox-doc.yy.com/efox/guide/
QA
END Thank you