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
77
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
50
Featured
See All Featured
Designing Experiences People Love
moore
143
24k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
170
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
120
Utilizing Notion as your number one productivity tool
mfonobong
4
290
Build your cross-platform service in a week with App Engine
jlugia
234
18k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
420
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
How GitHub (no longer) Works
holman
316
150k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
94
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.7k
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