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
92
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
67
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
225
10k
Google's AI Overviews - The New Search
badams
0
1k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
72
40k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
310
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Building AI with AI
inesmontani
PRO
1
1.1k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
640
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
280
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
370
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