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
淺談 TypeScript
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
CypressKuo
May 26, 2016
Technology
160
1
Share
淺談 TypeScript
簡介 TypeScript (PIXNET 組內分享)
CypressKuo
May 26, 2016
More Decks by CypressKuo
See All by CypressKuo
Deep-copying.pdf
cypresskuo
0
33
CSS_for_Web_Vitals.pdf
cypresskuo
0
39
談談_Code_review.pdf
cypresskuo
0
46
REST_vs_GraphQL_今夜はご注文はどっち.pdf
cypresskuo
0
23
CSS_重構.pdf
cypresskuo
0
27
跟上_JS_的腳步-ES2020.pdf
cypresskuo
0
29
Core_Web_Vitals.pdf
cypresskuo
0
54
這個時代人人都知道的敏捷開發.pdf
cypresskuo
0
60
Webassembly.pdf
cypresskuo
0
13
Other Decks in Technology
See All in Technology
GitHub Copilot CLI で Azure Portal to Bicep
tsubakimoto_s
0
300
AI時代のオンプレ-クラウドキャリアチェンジ考
yuu0w0yuu
0
670
Podcast配信で広がったアウトプットの輪~70人と音声発信してきた7年間~/outputconf_01
fortegp05
0
140
AgentCoreとLINEを使った飲食店おすすめアプリを作ってみた
yakumo
2
270
LLMに何を任せ、何を任せないか
cap120
11
6.7k
Tour of Agent Protocols: MCP, A2A, AG-UI, A2UI with ADK
meteatamel
0
170
AIエージェント勉強会第3回 エージェンティックAIの時代がやってきた
ymiya55
0
180
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
Microsoft Fabricで考える非構造データのAI活用
ryomaru0825
0
550
最大のアウトプット術は問題を作ること
ryoaccount
0
210
GitHub Actions侵害 — 相次ぐ事例を振り返り、次なる脅威に備える
flatt_security
11
6.9k
AIにより大幅に強化された AWS Transform Customを触ってみる
0air
0
230
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Raft: Consensus for Rubyists
vanstee
141
7.4k
Marketing to machines
jonoalderson
1
5.1k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
170
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
GitHub's CSS Performance
jonrohan
1032
470k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Designing for Performance
lara
611
70k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
96
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Transcript
亮藳 1
Ŏ ZKDWLV7\SH6FULSW" Ŏ %DVLF7\SHV Ŏ ,QWHUIDFHV Ŏ &ODVV Ŏ 7RROV
2
what is TypeScript? Ŏ 7\SH6FULSWLVDW\SHGVXSHUVHWRI-DYD6FULSWWKDWFRPSLOHV WRSODLQ-DYD6FULSW Ŏ $Q\EURZVHU$Q\KRVW$Q\262SHQVRXUFH https://www.typescriptlang.org/ 3
/ 22
Ŏ 6WDUWVDQGHQGVZLWK-DYD6FULSW Ŏ FRPSLOHVLQWR(&0$6FULSW RUQHZHU Ŏ VWDWLFW\SLQJ 4
Basic Types Ŏ %RROHDQ Ŏ 1XPEHU Ŏ 6WULQJ
5
Basic Types Ŏ $UUD\ Ŏ 7XSOH Ŏ (QXP
6
Basic Types Ŏ $Q\ Ŏ 9RLG
7
Basic Types Ŏ 7\SHDVVHUWLRQV 8
Interfaces Ŏ ࣁ7\SH6FULSW愊牧,QWHUIDFHV֢አ疰ฎ傶觊ࣳݷਧ嬝֦ጱ 纷ୗ嘨ᒫӣො纷ୗ嘨 Ŏ Ӟ圵憒塅 9
Interfaces Ŏ EDVLFLQWHUIDFH 10
Interfaces Ŏ 2SWLRQDO3URSHUWLHV 11
Interfaces Ŏ )XQFWLRQ7\SHV 12
Interfaces Ŏ &ODVV7\SHV 13
Interfaces Ŏ +\EULG7\SHV 14
Interfaces Ŏ ([WHQGLQJ,QWHUIDFHV 15
Class Ŏ 㯽翄ጱ-DYD6FULSWSURWRW\SHEDVHG Ŏ 7\SH6FULSWFODVVEDVHG 16
Class Ŏ 3XEOLF Ŏ 3ULYDWH Ŏ 3URWHFWHG 17
Class Ŏ $EVWUDFW 18
Class Ŏ 8VLQJDFODVVDVDQLQWHUIDFH http://www.dailymail.co.uk/news/article-3125869/Scientist-considers-naming-unclassified-octopus-species-Adorabilis-overcome-big-eyed-cuteness-deep-sea-creature.html 19
Get TypeScript Ŏ QSPLQVWDOOJW\SHVFULSW Ŏ QSPLQVWDOOJXOSW\SHVFULSW 20
IDE / Text Editor Ŏ 9LVXDO6WXGLR 9LVXDO6WXGLR&RGH Ŏ 2WKHUV
6XEOLPH7H[W$WRP(FOLSVH(PDFV:HE6WRUP9LPŏ 21
References Ŏ KWWSVZZZW\SHVFULSWODQJRUJ Ŏ KWWSEORJGDUNWKUHDGQHWSRVWKHOORW\SHVFULSWDVS[ Ŏ KWWSZZZVOLGHVKDUHQHW:LOO+XDQJ7:W\SHVFULSWKWPO ZHEVRFNHW Ŏ KWWSVZZZ\RXWXEHFRPZDWFK"
Y VG1*1'=HN OLVW 3/BG$[N1R)W]ZYXFVHZ;5*OLOO1D Ŏ KWWSVEORJVPVGQPLFURVRIWFRPHULFVNW\SHVFULSW 22
Thanks