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
YY EFox Team
December 26, 2018
1
68
ts_2_.pdf
YY EFox Team
December 26, 2018
Tweet
Share
More Decks by YY EFox Team
See All by YY EFox Team
websdk_1_.pdf
efox
0
41
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
A better future with KSS
kneath
239
17k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
What's in a price? How to price your products and services
michaelherold
246
12k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
124
52k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Code Reviewing Like a Champion
maltzj
524
40k
Designing for humans not robots
tammielis
253
25k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Fireside Chat
paigeccino
37
3.5k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
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