Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
社内TypeScript勉強会を開催した話
hy094
September 08, 2022
Technology
0
350
社内TypeScript勉強会を開催した話
hy094
September 08, 2022
Tweet
Share
More Decks by hy094
See All by hy094
TypeScript勉強会
hy094
0
890
Other Decks in Technology
See All in Technology
Logbii(ログビー) 会社紹介
logbii
0
100
cdk deployに必要な権限ってなんだ?
kinyok
0
150
- Rでオブジェクト指向プログラミング- クラス設計入門の入門
kotatyamtema
1
720
組織に対してSREを適用するとどうなるか
kuniim
1
130
経営統合をきっかけに会社をエンジニアリングした話 / btconjp-2023
carta_engineering
0
150
AI Builderについて
miyakemito
0
870
データベースの発表には RDBMS 以外もありますよ
maroon1st
0
230
IoT から見る AWS re:invent 2022 ― AWSのIoTの歴史を添えて/Point of view the AWS re:invent 2022 with IoT - with a history of IoT in AWS
ma2shita
0
240
ML PM, DS PMってどんな仕事をしているの?
line_developers
PRO
1
220
立ち止まっても、寄り道しても / even if I stop, even if I take a detour
katoaz
0
170
OVN-Kubernetes-Introduction-ja-2023-01-27.pdf
orimanabu
1
300
OPENLOGI Company Profile
hr01
0
12k
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
44
14k
How STYLIGHT went responsive
nonsquared
89
4.2k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
13
5.4k
YesSQL, Process and Tooling at Scale
rocio
159
12k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
29
7.9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
56
2.5k
Agile that works and the tools we love
rasmusluckow
320
20k
How GitHub Uses GitHub to Build GitHub
holman
465
280k
Building Flexible Design Systems
yeseniaperezcruz
314
35k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
2
400
Making Projects Easy
brettharned
102
4.8k
Designing the Hi-DPI Web
ddemaree
273
32k
Transcript
ࣾTypeScriptษڧձΛ։࠵ͨ͠ ҏ౻ඩզ • 2022 9 ݄ 8 1
ࣗݾհ ҏ౻ ඩզʢͻΐ͏͕ʣ ߴߍ→େֶʢจܥʣ →20204݄ גࣜձࣾϥΫε৽ଔೖࣾ ݱࡏ ָָిࢠอଘͷϑϩϯτΤϯυΛ ओʹ։ൃ͍ͯ͠·͢ʂ 2
ܦҢ ςοΫϦʔυͷํ͔Βɺ ʮଞαʔϏεͷΤϯδχΞ(BEΤϯδχΞ)͕JavaSctipt͔ΒTypeSctipt ͷҠߦΛݕ౼͍ͯ͠ΔͷͰɺษڧձΛ։࠵ͯ͠΄͍͠ʯ ͱ͍ͬͨґཔ͕ࢲͱ1ޙഐT܅ͷ2ਓʹɻ 3 ීஈ͍ͬͯΔ͚Ͳɺ આ໌Ͱ͖ΔఔͰͳ͍ɾɾɾ
ࡾछͷਆث ݸਓత TypeScriptٕज़ॻ “ࡾछͷਆث” ࢿྉ࡞ͷࡍʹࢀߟʹ͍͖ͤͯͨͩ͞·ͨ͠ 1. ϓϩάϥϛϯάTypeScript 2. ϓϩΛࢦ͢ਓͷͨΊͷTypeScriptೖ 3.
αόΠόϧTypeScript 4
2िؒఔͰ্͛ͨɻ લΛࢲɺޙΛT܅ͱͷ୲Ͱ্͛ͨɻ ࣍ҎԼͷ௨ΓɻʢฐࣾϒϩάͰࢿྉશฤެ։͍ͯ͠·͢↓ʣ 5 https://tech-blog.rakus.co.jp/entry/20220822/typescript
։࠵ޙΞϯέʔτ ࢀՃऀͷ8ׂ͕TypeScript ໊લ͘Β͍͔͠Βͳ͍ or ಡΊ͢Δ ͱ͍ͬͨఔ શମతʹқదͳൣғͩͬͨͱࢥ͍·͢ 6
ࢀՃऀͷ(Ұ෦ൈਮ) - ͝આ໌ͷཻ͕େ͖͗ͣ͢খ͗ͣ͢͞ɺ࣌ؒͰTypeScriptʹର ͢Δཧղ͕άοͱਂ·Γ·ͨ͠ɻ͋Γ͕ͱ͏͍͟͝·͢ɻ - ϝϯόʔ͕࠷ॳʹཧղ͖͕͘͢ཏ͞Ε͍ͯͯ࠷ॳͷҰา ʹΑ͍ͱײͨ͡ - ڥߏஙʹ͍ͭͯ͏গ͠ਂ͘ฉ͍ͯΈ͔ͨͬͨͰ͢ɻ →
શମతʹʮྑ͔ͬͨʯͱͷ͕ଟ͔ͬͨͰ͢ɻ 7
͋Γ͖ͨΓͳײͰ͕͢ɺࣗͷֶͼʹͳͬͨษڧձͰͨ͠ɻ ࢿྉ࡞ʹͨͬͯΒͳ͍ߏจͳͲͷൃݟ͋Γ·ͨ͠ɻ →func?.()ʢΦϓγϣφϧνΣΠχϯάʣ ͰؔͷଘࡏνΣοΫͭͭ͠ݺͼग़͕͠Ͱ͖Δ ͳͲ ૯ׅ 8