Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
TypeScript リテラル型について
Search
Kosuke Ogawa
September 18, 2020
Technology
320
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
TypeScript リテラル型について
Webナイト宮崎 Vol.10 ~てげTypeScriptを学びたい~ - connpass
https://tegehoge.connpass.com/event/186724/
Kosuke Ogawa
September 18, 2020
More Decks by Kosuke Ogawa
See All by Kosuke Ogawa
PHP or die
koogawa
0
320
Nuxt.js で非同期なデータを取得するときのポイント
koogawa
0
360
Vue 入門者が日報ツールを作ってみた
koogawa
1
400
地方に住むエンジニアがこの先生きのこるには
koogawa
0
1.2k
Firestore のデータ設計について
koogawa
0
880
はじめてウェブサイトで Firebase を使ってみた
koogawa
1
500
iOSアプリ開発におけるJavaScript
koogawa
1
470
Stack Overflow活動 その後の活動報告
koogawa
1
220
「まりも」と iOS の 6年間
koogawa
4
7.6k
Other Decks in Technology
See All in Technology
Deep Data Security 機能解説
oracle4engineer
PRO
3
990
"計画的無茶振り"を通してAIネイティブ世代の新人を育てる
subroh0508
1
140
自律的なチームを作るためにTechPMがやらないこと
ny7760
0
450
推論基盤と Scale-Up Interconnect の現状と制約から俯瞰する技術動向
markunet
2
740
20261031_IoTLT_vol140_kitazaki_v1.pdf
kitazaki
0
150
Patterns in AI Driven Software Development
akosma
PRO
0
430
新米を「売り越さない」、Aurora DSQLで作る在庫ゼロ死守の限定ドロップEC
yama3133
0
140
今から始めるAWS環境の暗号移行 - ポスト量子時代に備える
sato4mi
0
150
詳解 never 型 - ボトム型の性質を深掘り
nealle
0
130
Consistency for mere mortals - A gentle guide to consistency
ufried
0
110
バイブコーディングの特徴と「コケて直す」ループ
happysamurai294
0
140
AI時代、つくる力を自分たちの手に。 ──電通×KAG、アジャイルとAI駆動開発で挑む開発の変革
yuukiyo
3
450
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
770
We Have a Design System, Now What?
morganepeng
55
8.4k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
410
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
280
Code Reviewing Like a Champion
maltzj
529
40k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
600
Statistics for Hackers
jakevdp
799
230k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
380
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Transcript
KOSUKE OGAWA 2020 WebφΠτٶ࡚ No. 10 Ϧςϥϧܕʹ͍ͭͯ
ࣗݾհ w 0HBXB,PTVLFʢ!LPPHBXBʣ w Ξϧגࣜձࣾʢ౦ژʣ w ٶ࡚͔ΒϑϧϦϞʔτ w J04 4XJGU
"OESPJE ,PUMJO 5ZQF4DSJQU $44 7VFKT /VYUKTͳͲ w ࠷ۙϑϩϯτΤϯυ͕ϝΠϯ
͋Δ ͱ͋ΔίʔυΛಡΜͰ͍ͨΒɺ ͜ΜͳίʔυΛݟ͚ͭͨ
w AAͱ͔AAͱ͍͏ܕ͕͋Δʂʁ w BOVNCFSͳΒΘ͔Δ
• 6 2000 ͔͠ڐ͞Εͳ͍ܕ • จࣈྻͷϦςϥϧܕ͋Δ • const b:
'bar' = 'foo'; // Τϥʔ: Type '"foo"' is not assignable to type ‘"bar"'. Ϧςϥϧܕͱ͍͏Β͍͠
• จࣈྻͷϦςϥϧܕΛ࣋ͭstringܕͱͯ͠ѻ͏͜ͱ͕Ͱ͖Δ จࣈྻͷϦςϥϧܕ
• ܕऍΛলུͯͪ͠ΌΜͱਪ͞ΕΔ Ϧςϥϧܕͱܕਪ
͍ಓ
• ϝϯόมͷΛมߋͯ͠΄͘͠ͳ͍ͱ͖ ͍ಓ1
• ϢχΦϯܕͰ݁߹͢Δ ͍ಓ2
͋Γ͕ͱ͏͍͟͝·ͨ͠